aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,)