summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2018-07-09 17:45:57 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-24 13:12:39 +0200
commitfaf0464e333010ecc3c4214e7942633d9f761296 (patch)
treec042cd67d8d6e7a63cefbab6194035c19708b230 /tools
parent43db78fd44d7fd5790d13b6f0a69b93d7864477d (diff)
downloadlinux-rt-faf0464e333010ecc3c4214e7942633d9f761296.tar.gz
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 <labbott@redhat.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/build/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile
index 8332959fbca4..20d9ae11b6e1 100644
--- a/tools/build/Makefile
+++ b/tools/build/Makefile
@@ -42,7 +42,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: