- correct flag for gcc-3.x
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 24 Jan 2006 18:25:51 +0000 (18:25 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 24 Jan 2006 18:25:51 +0000 (18:25 -0000)
Rules.mak

index f153d431f3248fb54b353f000b064a5e95606f4f..8652b00f4a2ae1e4d4f518e24a518d90b01f4c93 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -139,7 +139,7 @@ OPTIMIZATION:=$(call check_gcc,-Os,-O2)
 ifeq ($(CONFIG_BUILD_AT_ONCE),y)
 # gcc 2.95 exits with 0 for "unrecognized option"
 ifeq ($(strip $(shell [ $(CC_MAJOR) -ge 3 ] ; echo $$?)),0)
-       OPTIMIZATION+=$(call check_gcc,-combine,)
+       OPTIMIZATION+=$(call check_gcc,--combine,)
 endif
 OPTIMIZATION+=$(call check_gcc,-funit-at-a-time,)
 PROG_CFLAGS+=$(call check_gcc,-fwhole-program,)