Skip to content

Commit

Permalink
build: Add hidden WERROR_CFLAGS variable for testing and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed May 13, 2021
1 parent 595efa0 commit 1b6bef4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,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
Expand Down

0 comments on commit 1b6bef4

Please sign in to comment.