aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-09-29 22:52:25 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-09-29 22:52:25 +0000
commit64e619c0c8e638acb30ba31fa106a449da28ca13 (patch)
treedc703770a8aa6136d344ab8ab9f32721db35250f
parent304a97a1ec76cd7a70c62c457c79a460b00177f0 (diff)
downloadbusybox-64e619c0c8e638acb30ba31fa106a449da28ca13.tar.gz
build system: pass EXTRA_LDFLAGS to final link stage
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8cad651b2..2dced88e4 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 \