diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-02-12 12:57:38 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-02-12 12:57:38 +0000 |
commit | 9a1c71a0f22e7113b87291f874281fb44a455aab (patch) | |
tree | da1c029f1b6df8b793e9af042a288695222b39c8 | |
parent | a3055846a46fd43433e899e08a9d0b6f77ec58ec (diff) | |
download | busybox-9a1c71a0f22e7113b87291f874281fb44a455aab.tar.gz |
- check if the compiler supports -fwhole-program -- 4.0 does not
-rw-r--r-- | scripts/Makefile.IMA | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.IMA b/scripts/Makefile.IMA index dec5fde83..23f89578b 100644 --- a/scripts/Makefile.IMA +++ b/scripts/Makefile.IMA @@ -115,9 +115,9 @@ CPPFLAGS+= -D"KBUILD_STR(s)=\#s" #-Q HOSTCC = gcc CC = gcc - +WHOLE_PROGRAM:=$(call cc-option,-fwhole-program,) busybox: $(usage_stuff) - $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_EXTRA) --combine -fwhole-program \ + $(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) --combine $(WHOLE_PROGRAM) \ -funit-at-a-time -Wno-error -std=gnu99 \ -o $(@)_unstripped $(lib-all-y:.o=.c) \ -Wl,--start-group -lcrypt -lm -Wl,--end-group |