configure: Improve rationale for WERROR_CFLAGS

This commit is contained in:
Tim Ruffing 2022-06-29 11:12:00 +02:00
parent 8dc4b03341
commit 49e2acd927
1 changed files with 3 additions and 1 deletions

View File

@ -342,7 +342,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)
# Add -Werror and similar flags passed from the outside (for testing, e.g., in CI).
# We don't want to set the user variable CFLAGS in CI because this would disable
# autoconf's logic for setting default CFLAGS, which we would like to test in CI.
SECP_CFLAGS="$SECP_CFLAGS $WERROR_CFLAGS"
###