Skip to content

Commit

Permalink
Actually pass CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD to linker
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed Feb 10, 2019
1 parent 2d5f4ce commit a34bcaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a34bcaa

Please sign in to comment.