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 authored and dderjoel committed May 23, 2023
1 parent 1ed8622 commit 13754aa
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 13754aa

Please sign in to comment.