File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed
Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 11env :
2- WIDEMUL : auto
2+ # ## compiler options
3+ HOST :
4+ # Specific warnings can be disabled with -Wno-error=foo.
5+ # -pedantic-errors is not equivalent to -Werror=pedantic and thus not implied by -Werror according to the GCC manual.
6+ WERROR_CFLAGS : -Werror -pedantic-errors
7+ MAKEFLAGS : -j2
8+ BUILD : check
9+ # ## secp256k1 config
310 STATICPRECOMPUTATION : yes
411 ECMULTGENPRECISION : auto
512 ASM : no
6- BUILD : check
13+ WIDEMUL : auto
714 WITH_VALGRIND : yes
815 EXTRAFLAGS :
9- HOST :
16+ # ## secp256k1 modules
17+ EXPERIMENTAL : no
1018 ECDH : no
1119 RECOVERY : no
1220 SCHNORRSIG : no
13- EXPERIMENTAL : no
14- CTIMETEST : yes
15- BENCH : yes
21+ # ## test options
1622 TEST_ITERS :
23+ BENCH : yes
1724 BENCH_ITERS : 2
18- MAKEFLAGS : -j2
25+ CTIMETEST : yes
1926
2027cat_logs_snippet : &CAT_LOGS
2128 always :
Original file line number Diff line number Diff line change @@ -357,6 +357,9 @@ if test x"$enable_valgrind" = x"yes"; then
357357 SECP_INCLUDES="$SECP_INCLUDES $VALGRIND_CPPFLAGS"
358358fi
359359
360+ # Add -Werror and similar flags passed from the outside (for testing, e.g., in CI)
361+ SECP_CFLAGS="$SECP_CFLAGS $WERROR_CFLAGS"
362+
360363# Handle static precomputation (after everything which modifies CFLAGS and friends)
361364if test x"$use_ecmult_static_precomputation" != x"no"; then
362365 if test x"$cross_compiling" = x"no"; then
You can’t perform that action at this time.
0 commit comments