diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-25 22:50:18 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-25 22:50:18 +0000 |
commit | ca2b43ffed231af73075b6508891a8e6c46cbb93 (patch) | |
tree | 95bf83a402e2d992d81e83b36395f6d59b560896 /Rules.mak | |
parent | a80fc77b658a7883df95ac41ad83ac9ff7c8ff07 (diff) |
Add -fcombine check to allow IMA compiling w/ gcc 4.x
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |