File tree 2 files changed +17
-7
lines changed
2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
1
env :
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
3
10
STATICPRECOMPUTATION : yes
4
11
ECMULTGENPRECISION : auto
5
12
ASM : no
6
- BUILD : check
13
+ WIDEMUL : auto
7
14
WITH_VALGRIND : yes
8
15
EXTRAFLAGS :
9
- HOST :
16
+ # ## secp256k1 modules
17
+ EXPERIMENTAL : no
10
18
ECDH : no
11
19
RECOVERY : no
12
20
SCHNORRSIG : no
13
- EXPERIMENTAL : no
14
- CTIMETEST : yes
15
- BENCH : yes
21
+ # ## test options
16
22
TEST_ITERS :
23
+ BENCH : yes
17
24
BENCH_ITERS : 2
18
- MAKEFLAGS : -j2
25
+ CTIMETEST : yes
19
26
20
27
cat_logs_snippet : &CAT_LOGS
21
28
always :
Original file line number Diff line number Diff line change @@ -356,6 +356,9 @@ if test x"$enable_valgrind" = x"yes"; then
356
356
SECP_INCLUDES="$SECP_INCLUDES $VALGRIND_CPPFLAGS"
357
357
fi
358
358
359
+ # Add -Werror and similar flags passed from the outside (for testing, e.g., in CI)
360
+ SECP_CFLAGS="$SECP_CFLAGS $WERROR_CFLAGS"
361
+
359
362
# Handle static precomputation (after everything which modifies CFLAGS and friends)
360
363
if test x"$use_ecmult_static_precomputation" != x"no"; then
361
364
if test x"$cross_compiling" = x"no"; then
You can’t perform that action at this time.
0 commit comments