diff options
author | Laura Abbott <labbott@redhat.com> | 2018-07-09 20:45:57 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-12 11:48:18 -0400 |
commit | 8b247a92ebd0cda7dec49a6f771d9c4950f3d3ad (patch) | |
tree | e06d641a5caf7a52696261082277fbdf61b33c0d /tools/build | |
parent | 6fdbd824fd7a3876aac43d32fdf1f30b9ef72ce4 (diff) |
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 'tools/build')
-rw-r--r-- | tools/build/Makefile | 2 |
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 | |||
43 | $(Q)$(MAKE) $(build)=fixdep | 43 | $(Q)$(MAKE) $(build)=fixdep |
44 | 44 | ||
45 | $(OUTPUT)fixdep: $(OUTPUT)fixdep-in.o | 45 | $(OUTPUT)fixdep: $(OUTPUT)fixdep-in.o |
46 | $(QUIET_LINK)$(HOSTCC) $(LDFLAGS) -o $@ $< | 46 | $(QUIET_LINK)$(HOSTCC) $(HOSTLDFLAGS) -o $@ $< |
47 | 47 | ||
48 | FORCE: | 48 | FORCE: |
49 | 49 | ||