Skip to content

Commit f29aa67

Browse files
configure: Add hidden WERROR_CFLAGS variable for testing and CI
1 parent 6939487 commit f29aa67

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

configure.ac

+3
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,9 @@ if test x"$enable_valgrind" = x"yes"; then
351351
SECP_INCLUDES="$SECP_INCLUDES $VALGRIND_CPPFLAGS"
352352
fi
353353

354+
# Add -Werror and similar flags passed from the outside (for testing, e.g., in CI)
355+
CFLAGS="$WERROR_CFLAGS $CFLAGS"
356+
354357
# Handle static precomputation (after everything which modifies CFLAGS and friends)
355358
if test x"$use_ecmult_static_precomputation" != x"no"; then
356359
if test x"$cross_compiling" = x"no"; then

0 commit comments

Comments
 (0)