From d64b496a863c30556fdf1157459c0ee06b75e895 Mon Sep 17 00:00:00 2001 From: Dragos Badea Date: Mon, 15 Oct 2018 22:08:14 +0300 Subject: [PATCH] Fixes 'CPPFLAGS_FOR_BUILD must be set' error when using newer autotools versions Closes: #2 --- src/secp256k1/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/secp256k1/Makefile.am b/src/secp256k1/Makefile.am index 7772a4e9d282c..c6150d9de40d9 100644 --- a/src/secp256k1/Makefile.am +++ b/src/secp256k1/Makefile.am @@ -75,7 +75,9 @@ TESTS = tests endif if USE_ECMULT_STATIC_PRECOMPUTATION +CPPFLAGS_FOR_BUILD = CPPFLAGS_FOR_BUILD +=-I$(top_srcdir) +CFLAGS_FOR_BUILD = CFLAGS_FOR_BUILD += -Wall -Wextra -Wno-unused-function gen_context_OBJECTS = gen_context.o