aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-14 12:24:14 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-14 12:24:14 +0000
commitf1d93ec4206b50f7971f7df391dfc9bd52da8344 (patch)
tree7b695107ed753f44e922fac3c2450b61f1aa197e /Makefile
parentb2e578a1f2c3cf317b391a7d2c059d6a5f5368b8 (diff)
downloadbusybox-f1d93ec4206b50f7971f7df391dfc9bd52da8344.tar.gz
build system: pass CFLAGS to link stage too (closes bug 1376)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c8ff5fb52..60edff9b4 100644
--- a/Makefile
+++ b/Makefile
@@ -571,6 +571,7 @@ quiet_cmd_busybox__ ?= LINK $@
cmd_busybox__ ?= $(srctree)/scripts/trylink \
"$@" \
"$(CC)" \
+ "$(CFLAGS)" \
"$(LDFLAGS) $(EXTRA_LDFLAGS)" \
"$(core-y)" \
"$(libs-y)" \