svn commit: trunk/uClibc

psm at uclibc.org psm at uclibc.org
Sat Oct 29 01:26:02 UTC 2005


Author: psm
Date: 2005-10-28 18:26:00 -0700 (Fri, 28 Oct 2005)
New Revision: 11970

Log:
Limit IMA compiling to gcc-4, gcc-3.4.4 can't cope w/ some sources

Modified:
   trunk/uClibc/Rules.mak


Changeset:
Modified: trunk/uClibc/Rules.mak
===================================================================
--- trunk/uClibc/Rules.mak	2005-10-29 00:53:01 UTC (rev 11969)
+++ trunk/uClibc/Rules.mak	2005-10-29 01:26:00 UTC (rev 11970)
@@ -315,11 +315,11 @@
 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,)




More information about the uClibc-cvs mailing list