Move valgrind CPPFLAGS into SECP_CONFIG_DEFINES

This commit is contained in:
Pieter Wuille
2022-12-06 23:35:30 -05:00
parent cc3b8a4f40
commit 4f1a54e41d
2 changed files with 2 additions and 6 deletions

View File

@@ -344,7 +344,7 @@ case $set_ecmult_gen_precision in
esac
if test x"$enable_valgrind" = x"yes"; then
SECP_INCLUDES="$SECP_INCLUDES $VALGRIND_CPPFLAGS"
SECP_CONFIG_DEFINES="$SECP_CONFIG_DEFINES $VALGRIND_CPPFLAGS -DVALGRIND"
fi
# Add -Werror and similar flags passed from the outside (for testing, e.g., in CI).