summaryrefslogtreecommitdiffstats
path: root/tools/build
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2018-07-10 02:45:57 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-07-12 17:48:18 +0200
commit8b247a92ebd0cda7dec49a6f771d9c4950f3d3ad (patch)
treee06d641a5caf7a52696261082277fbdf61b33c0d /tools/build
parenttools: build: Fixup host c flags (diff)
downloadlinux-8b247a92ebd0cda7dec49a6f771d9c4950f3d3ad.tar.xz
linux-8b247a92ebd0cda7dec49a6f771d9c4950f3d3ad.zip
tools: build: Use HOSTLDFLAGS with fixdep
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>
Diffstat (limited to '')
-rw-r--r--tools/build/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile
index 5eb4b5ad79cb..5edf65e684ab 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: