diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-04-11 12:42:23 +0000 |
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-04-11 12:42:23 +0000 |
| commit | eecd588c53066fa5f95bc1ec2249028e0efcc8f3 (patch) | |
| tree | 7fd2b3c01274f652aa0d7c95b02614713e36ded0 /scripts | |
| parent | 1d690db7202c32909c04c50e96bf85b314dbf31a (diff) | |
| download | busybox-w32-eecd588c53066fa5f95bc1ec2249028e0efcc8f3.tar.gz busybox-w32-eecd588c53066fa5f95bc1ec2249028e0efcc8f3.tar.bz2 busybox-w32-eecd588c53066fa5f95bc1ec2249028e0efcc8f3.zip | |
- fix detection of whole-program
It helps if we first pull in the function we use for testing flags ;)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Makefile.IMA | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.IMA b/scripts/Makefile.IMA index 73360f3e1..27163ab36 100644 --- a/scripts/Makefile.IMA +++ b/scripts/Makefile.IMA | |||
| @@ -26,7 +26,6 @@ OBJDUMP = $(CROSS_COMPILE)objdump | |||
| 26 | 26 | ||
| 27 | CFLAGS := $(CFLAGS) | 27 | CFLAGS := $(CFLAGS) |
| 28 | CPPFLAGS+= -D"KBUILD_STR(s)=\#s" #-Q | 28 | CPPFLAGS+= -D"KBUILD_STR(s)=\#s" #-Q |
| 29 | WHOLE_PROGRAM:=$(call cc-option,-fwhole-program,) | ||
| 30 | 29 | ||
| 31 | include .config | 30 | include .config |
| 32 | # We need some generic definitions | 31 | # We need some generic definitions |
| @@ -41,6 +40,7 @@ ifndef BB_VER | |||
| 41 | BB_VER:="" | 40 | BB_VER:="" |
| 42 | endif | 41 | endif |
| 43 | 42 | ||
| 43 | WHOLE_PROGRAM:=$(call cc-option,-fwhole-program,) | ||
| 44 | 44 | ||
| 45 | # pull in the config stuff | 45 | # pull in the config stuff |
| 46 | lib-all-y := applets/applets.o | 46 | lib-all-y := applets/applets.o |
