From: Denis Vlasenko Date: Sat, 29 Sep 2007 22:52:25 +0000 (-0000) Subject: build system: pass EXTRA_LDFLAGS to final link stage X-Git-Tag: 1_8_0~114 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=64e619c0c8e638acb30ba31fa106a449da28ca13;p=oweals%2Fbusybox.git build system: pass EXTRA_LDFLAGS to final link stage --- 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 \