Skip to content

Commit

Permalink
configure: Improve rationale for WERROR_CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed Jun 29, 2022
1 parent 8dc4b03 commit 49e2acd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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"

###
Expand Down

0 comments on commit 49e2acd

Please sign in to comment.