From: Laura Abbott Date: Tue, 10 Jul 2018 00:45:57 +0000 (-0700) Subject: tools: build: Use HOSTLDFLAGS with fixdep X-Git-Tag: v4.14.67~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=abf9fb6e1537f324d9de965a9928e12dabbc5f47;p=platform%2Fkernel%2Flinux-exynos.git tools: build: Use HOSTLDFLAGS with fixdep [ Upstream commit 8b247a92ebd0cda7dec49a6f771d9c4950f3d3ad ] The final link of fixdep uses LDFLAGS but not the existing HOSTLDFLAGS. Fix this. Signed-off-by: Laura Abbott Acked-by: Jiri Olsa Signed-off-by: Masahiro Yamada Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- diff --git a/tools/build/Makefile b/tools/build/Makefile index 5eb4b5a..5edf65e 100644 --- a/tools/build/Makefile +++ b/tools/build/Makefile @@ -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: