aboutsummaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-24 18:25:51 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-24 18:25:51 +0000
commit45d75f9ecc8f2b582407059da7d414f990ced68a (patch)
tree0cd4758d3306891062c825dea91544f733ff427d /Rules.mak
parent47be528580c44ceabc0d2b240626b8235d745660 (diff)
downloadbusybox-w32-45d75f9ecc8f2b582407059da7d414f990ced68a.tar.gz
busybox-w32-45d75f9ecc8f2b582407059da7d414f990ced68a.tar.bz2
busybox-w32-45d75f9ecc8f2b582407059da7d414f990ced68a.zip
- correct flag for gcc-3.x
git-svn-id: svn://busybox.net/trunk/busybox@13567 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index f153d431f..8652b00f4 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -139,7 +139,7 @@ OPTIMIZATION:=$(call check_gcc,-Os,-O2)
139ifeq ($(CONFIG_BUILD_AT_ONCE),y) 139ifeq ($(CONFIG_BUILD_AT_ONCE),y)
140# gcc 2.95 exits with 0 for "unrecognized option" 140# gcc 2.95 exits with 0 for "unrecognized option"
141ifeq ($(strip $(shell [ $(CC_MAJOR) -ge 3 ] ; echo $$?)),0) 141ifeq ($(strip $(shell [ $(CC_MAJOR) -ge 3 ] ; echo $$?)),0)
142 OPTIMIZATION+=$(call check_gcc,-combine,) 142 OPTIMIZATION+=$(call check_gcc,--combine,)
143endif 143endif
144OPTIMIZATION+=$(call check_gcc,-funit-at-a-time,) 144OPTIMIZATION+=$(call check_gcc,-funit-at-a-time,)
145PROG_CFLAGS+=$(call check_gcc,-fwhole-program,) 145PROG_CFLAGS+=$(call check_gcc,-fwhole-program,)