svn commit: trunk/busybox/scripts

aldot at busybox.net aldot at busybox.net
Fri Apr 11 12:42:24 UTC 2008


Author: aldot
Date: 2008-04-11 05:42:23 -0700 (Fri, 11 Apr 2008)
New Revision: 21711

Log:
- fix detection of whole-program
  It helps if we first pull in the function we use for testing flags ;)


Modified:
   trunk/busybox/scripts/Makefile.IMA


Changeset:
Modified: trunk/busybox/scripts/Makefile.IMA
===================================================================
--- trunk/busybox/scripts/Makefile.IMA	2008-04-11 12:31:57 UTC (rev 21710)
+++ trunk/busybox/scripts/Makefile.IMA	2008-04-11 12:42:23 UTC (rev 21711)
@@ -26,7 +26,6 @@
 
 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 @@
 BB_VER:=""
 endif
 
+WHOLE_PROGRAM:=$(call cc-option,-fwhole-program,)
 
 # pull in the config stuff
 lib-all-y := applets/applets.o




More information about the busybox-cvs mailing list