From: Bernhard Reutner-Fischer Date: Tue, 24 Jan 2006 18:25:51 +0000 (-0000) Subject: - correct flag for gcc-3.x X-Git-Tag: 1_1_0~313 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f64ff682a3d58dbb627e760e6fe1ec21d9ccdf61;p=oweals%2Fbusybox.git - correct flag for gcc-3.x --- 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,)