]> Git Repo - secp256k1.git/blobdiff - configure.ac
ci: Make compiler warning into errors on CI
[secp256k1.git] / configure.ac
index 3a68e8585059607ce3a232ef0943e779f658619d..7172a9f22a257faf564525caeca9b13362b5a0ff 100644 (file)
@@ -357,6 +357,9 @@ if test x"$enable_valgrind" = x"yes"; then
   SECP_INCLUDES="$SECP_INCLUDES $VALGRIND_CPPFLAGS"
 fi
 
+# Add -Werror and similar flags passed from the outside (for testing, e.g., in CI)
+SECP_CFLAGS="$SECP_CFLAGS $WERROR_CFLAGS"
+
 # Handle static precomputation (after everything which modifies CFLAGS and friends)
 if test x"$use_ecmult_static_precomputation" != x"no"; then
   if test x"$cross_compiling" = x"no"; then
This page took 0.021898 seconds and 4 git commands to generate.