From ca2b43ffed231af73075b6508891a8e6c46cbb93 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 25 Oct 2005 22:50:18 +0000 Subject: Add -fcombine check to allow IMA compiling w/ gcc 4.x --- Rules.mak | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index c738a2831..e2b3b24d8 100644 --- a/Rules.mak +++ b/Rules.mak @@ -259,6 +259,8 @@ endif OPTIMIZATION+=$(call check_gcc,-Os,-O2) # Use the gcc 3.4 -funit-at-a-time optimization when available OPTIMIZATION+=$(call check_gcc,-funit-at-a-time,) +# gcc 4.x needs -fcombine, else building all sources at once fails +OPTIMIZATION+=$(call check_gcc,-fcombine,) # Add a bunch of extra pedantic annoyingly strict checks XWARNINGS=$(subst ",, $(strip $(WARNINGS))) -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -- cgit v1.2.3