svn commit: trunk/uClibc

psm at uclibc.org psm at uclibc.org
Tue Oct 25 22:50:23 UTC 2005


Author: psm
Date: 2005-10-25 15:50:18 -0700 (Tue, 25 Oct 2005)
New Revision: 11919

Log:
Add -fcombine check to allow IMA compiling w/ gcc 4.x

Modified:
   trunk/uClibc/Rules.mak


Changeset:
Modified: trunk/uClibc/Rules.mak
===================================================================
--- trunk/uClibc/Rules.mak	2005-10-25 22:17:39 UTC (rev 11918)
+++ trunk/uClibc/Rules.mak	2005-10-25 22:50:18 UTC (rev 11919)
@@ -259,6 +259,8 @@
 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




More information about the uClibc-cvs mailing list