summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2009-09-19 10:14:33 +0200
committerSam Ravnborg <sam@ravnborg.org>2009-09-20 12:27:42 +0200
commitf86fd306605287d7c7f4f0f8e8e2a9d49d28b396 (patch)
tree8d6115f90c496ab3fc37de2b513e1857216cd92c /Makefile
parent4779105e03cdb6639706991081839451d709230b (diff)
kbuild: rename ld-option to cc-ldoption
ld-option is misnamed as it test options to gcc, not to ld. Renamed it to reflect this. Cc: Andi Kleen <andi@firstfloor.org> Cc: Roland McGrath <roland@redhat.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a45b0a23182..d04ad671147 100644
--- a/Makefile
+++ b/Makefile
@@ -635,7 +635,7 @@ endif
# Use --build-id when available.
LDFLAGS_BUILD_ID = $(patsubst -Wl$(comma)%,%,\
- $(call ld-option, -Wl$(comma)--build-id,))
+ $(call cc-ldoption, -Wl$(comma)--build-id,))
LDFLAGS_MODULE += $(LDFLAGS_BUILD_ID)
LDFLAGS_vmlinux += $(LDFLAGS_BUILD_ID)