error: CPPFLAGS_FOR_BUILD must be set with '=' before using '+=
Opened this issue · 0 comments
litux commented
./autogen.sh error occurs:
Makefile.am:78: error: CPPFLAGS_FOR_BUILD must be set with '=' before using '+=' Makefile.am:79: error: CFLAGS_FOR_BUILD must be set with '=' before using '+='
Solved this with adding in src/secp256k1/Makefile.am
CPPFLAGS_FOR_BUILD =
and
CFLAGS_FOR_BUILD =
like this
CPPFLAGS_FOR_BUILD =
CPPFLAGS_FOR_BUILD +=-I$(top_srcdir)
CFLAGS_FOR_BUILD =
CFLAGS_FOR_BUILD += -Wall -Wextra -Wno-unused-function