From a34bcaadf14442b86a5de120d4afd131f910d73d Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Sun, 10 Feb 2019 11:58:52 +0100 Subject: [PATCH] Actually pass CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD to linker --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 0b9ceca9682ed..80fca490a59a8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -158,7 +158,7 @@ gen_%.o: src/gen_%.c $(CC_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) -c $< -o $@ $(gen_context_BIN): $(gen_context_OBJECTS) - $(CC_FOR_BUILD) $^ -o $@ + $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $^ -o $@ $(libsecp256k1_la_OBJECTS): src/ecmult_static_context.h $(tests_OBJECTS): src/ecmult_static_context.h