From 1ecb94ebe9800900c7dd3a4f9883c600e25eecf7 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Tue, 11 Apr 2023 18:59:12 +0100 Subject: [PATCH] build: Make `SECP_VALGRIND_CHECK` preserve `CPPFLAGS` --- build-aux/m4/bitcoin_secp.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/build-aux/m4/bitcoin_secp.m4 b/build-aux/m4/bitcoin_secp.m4 index 624f5e956e09e..154157ffb495a 100644 --- a/build-aux/m4/bitcoin_secp.m4 +++ b/build-aux/m4/bitcoin_secp.m4 @@ -21,6 +21,7 @@ if test x"$has_valgrind" != x"yes"; then # error "Valgrind does not support this platform." #endif ]])], [has_valgrind=yes]) + CPPFLAGS="$CPPFLAGS_TEMP" fi AC_MSG_RESULT($has_valgrind) ])