summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-10-29 01:26:00 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-10-29 01:26:00 +0000
commit47d8fab86e0146c32cd6b5392bf0fb11a926a5b6 (patch)
tree56c02d43f6de698508280f16294459e10beabf5e /Rules.mak
parentd816868693b9cbc6c4ce97831f5a2c950b3db260 (diff)
Limit IMA compiling to gcc-4, gcc-3.4.4 can't cope w/ some sources
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rules.mak b/Rules.mak
index 55fee0cbc..c06553f6f 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -315,11 +315,11 @@ endif
ifeq ($(DOMULTI),y)
# we try to compile all sources at once into an object (IMA), but
# gcc-3.3.x does not support it
-# gcc-3.4.x supports it, but does not need and support --combine
+# gcc-3.4.x supports it, but does not need and support --combine. though fails on many sources
# gcc-4.0.x supports it, supports the --combine flag, but does not need it
# gcc-4.1(200506xx) supports it, but needs the --combine flag, else libs are useless
-GCC_VER?=$(shell $(CC) -dumpversion | cut -d . -f 1,2)
-ifeq ($(GCC_VER),3.3)
+GCC_VER?=$(shell $(CC) -dumpversion | cut -d . -f 1)
+ifeq ($(GCC_VER),3)
DOMULTI:=n
else
CFLAGS+=$(call check_gcc,--combine,)