summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2008-04-11 12:42:23 +0000
committerBernhard Reutner-Fischer2008-04-11 12:42:23 +0000
commiteecd588c53066fa5f95bc1ec2249028e0efcc8f3 (patch)
tree7fd2b3c01274f652aa0d7c95b02614713e36ded0
parent1d690db7202c32909c04c50e96bf85b314dbf31a (diff)
downloadbusybox-eecd588c53066fa5f95bc1ec2249028e0efcc8f3.zip
busybox-eecd588c53066fa5f95bc1ec2249028e0efcc8f3.tar.gz
- fix detection of whole-program
It helps if we first pull in the function we use for testing flags ;)
-rw-r--r--scripts/Makefile.IMA2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.IMA b/scripts/Makefile.IMA
index 73360f3..27163ab 100644
--- a/scripts/Makefile.IMA
+++ b/scripts/Makefile.IMA
@@ -26,7 +26,6 @@ OBJDUMP = $(CROSS_COMPILE)objdump
CFLAGS := $(CFLAGS)
CPPFLAGS+= -D"KBUILD_STR(s)=\#s" #-Q
-WHOLE_PROGRAM:=$(call cc-option,-fwhole-program,)
include .config
# We need some generic definitions
@@ -41,6 +40,7 @@ ifndef BB_VER
BB_VER:=""
endif
+WHOLE_PROGRAM:=$(call cc-option,-fwhole-program,)
# pull in the config stuff
lib-all-y := applets/applets.o