svn commit: trunk/uClibc

vapier at uclibc.org vapier at uclibc.org
Fri Sep 21 19:49:05 UTC 2007


Author: vapier
Date: 2007-09-21 12:49:04 -0700 (Fri, 21 Sep 2007)
New Revision: 19932

Log:
Jie Zhang writes:
GCC 4.3 will put fixed headers in a seperate include-fixed directory.
And I don't think that there are people who are still using the 'stupid'
GCC which cannot handle -iwithprefix, at least it works with gcc-3.3.x.


Modified:
   trunk/uClibc/Rules.mak


Changeset:
Modified: trunk/uClibc/Rules.mak
===================================================================
--- trunk/uClibc/Rules.mak	2007-09-21 18:06:20 UTC (rev 19931)
+++ trunk/uClibc/Rules.mak	2007-09-21 19:49:04 UTC (rev 19932)
@@ -487,9 +487,7 @@
 endif
 CFLAGS += -I$(KERNEL_HEADERS)
 
-# Sigh, some stupid versions of gcc can't seem to cope with '-iwithprefix include'
-#CFLAGS+=-iwithprefix include
-CFLAGS+=-isystem $(shell $(CC) -print-file-name=include)
+CFLAGS += -iwithprefix include-fixed -iwithprefix include
 
 ifneq ($(DOASSERTS),y)
 CFLAGS+=-DNDEBUG




More information about the uClibc-cvs mailing list