Skip to content

Commit

Permalink
tools: build: Use HOSTLDFLAGS with fixdep
Browse files Browse the repository at this point in the history
The final link of fixdep uses LDFLAGS but not the existing HOSTLDFLAGS.
Fix this.

Signed-off-by: Laura Abbott <labbott@redhat.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
  • Loading branch information
labbott authored and masahir0y committed Jul 12, 2018
1 parent 6fdbd82 commit 8b247a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ $(OUTPUT)fixdep-in.o: FORCE
$(Q)$(MAKE) $(build)=fixdep

$(OUTPUT)fixdep: $(OUTPUT)fixdep-in.o
$(QUIET_LINK)$(HOSTCC) $(LDFLAGS) -o $@ $<
$(QUIET_LINK)$(HOSTCC) $(HOSTLDFLAGS) -o $@ $<

FORCE:

Expand Down

0 comments on commit 8b247a9

Please sign in to comment.