aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-02-12 12:57:38 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-02-12 12:57:38 +0000
commitcb8cbf98ac14168d3292bbe5ee3431de42c082fc (patch)
treeda1c029f1b6df8b793e9af042a288695222b39c8
parent6b6a7891b2f9e3970f8e3067579d4352561be034 (diff)
downloadbusybox-w32-cb8cbf98ac14168d3292bbe5ee3431de42c082fc.tar.gz
busybox-w32-cb8cbf98ac14168d3292bbe5ee3431de42c082fc.tar.bz2
busybox-w32-cb8cbf98ac14168d3292bbe5ee3431de42c082fc.zip
- check if the compiler supports -fwhole-program -- 4.0 does not
git-svn-id: svn://busybox.net/trunk/busybox@17863 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--scripts/Makefile.IMA4
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
115 115
116HOSTCC = gcc 116HOSTCC = gcc
117CC = gcc 117CC = gcc
118 118WHOLE_PROGRAM:=$(call cc-option,-fwhole-program,)
119busybox: $(usage_stuff) 119busybox: $(usage_stuff)
120 $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_EXTRA) --combine -fwhole-program \ 120 $(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) --combine $(WHOLE_PROGRAM) \
121 -funit-at-a-time -Wno-error -std=gnu99 \ 121 -funit-at-a-time -Wno-error -std=gnu99 \
122 -o $(@)_unstripped $(lib-all-y:.o=.c) \ 122 -o $(@)_unstripped $(lib-all-y:.o=.c) \
123 -Wl,--start-group -lcrypt -lm -Wl,--end-group 123 -Wl,--start-group -lcrypt -lm -Wl,--end-group