summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDenis Vlasenko2007-09-29 22:52:25 +0000
committerDenis Vlasenko2007-09-29 22:52:25 +0000
commit64e619c0c8e638acb30ba31fa106a449da28ca13 (patch)
treedc703770a8aa6136d344ab8ab9f32721db35250f /Makefile
parent304a97a1ec76cd7a70c62c457c79a460b00177f0 (diff)
downloadbusybox-64e619c0c8e638acb30ba31fa106a449da28ca13.zip
busybox-64e619c0c8e638acb30ba31fa106a449da28ca13.tar.gz
build system: pass EXTRA_LDFLAGS to final link stage
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8cad651..2dced88 100644
--- a/Makefile
+++ b/Makefile
@@ -568,7 +568,7 @@ busybox-all := $(core-y) $(libs-y)
# Rule to link busybox - also used during CONFIG_KALLSYMS
# May be overridden by arch/$(ARCH)/Makefile
quiet_cmd_busybox__ ?= LINK $@
- cmd_busybox__ ?= $(srctree)/scripts/trylink $(CC) $(LDFLAGS) \
+ cmd_busybox__ ?= $(srctree)/scripts/trylink $(CC) $(LDFLAGS) $(EXTRA_LDFLAGS) \
-o $@ -Wl,-Map -Wl,$@.map \
-Wl,--warn-common -Wl,--sort-common -Wl,--gc-sections \
-Wl,--start-group $(busybox-all) -Wl,--end-group \