From f64ff682a3d58dbb627e760e6fe1ec21d9ccdf61 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 24 Jan 2006 18:25:51 +0000 Subject: [PATCH] - correct flag for gcc-3.x --- Rules.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) 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,) -- 2.25.1