aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Mike Frysinger <vapier@gentoo.org>2007-09-21 19:49:04 +0000
committerGravatar Mike Frysinger <vapier@gentoo.org>2009-08-25 04:20:03 -0400
commita6dfcd03425656208fc548c75f955016c26e8f71 (patch)
treef58ac6f69cd35af5b03c8e7936f4393ed15b651c
parent05caf5ca49717add04ec1251f504a0b2a635ea32 (diff)
downloaduClibc-a6dfcd03425656208fc548c75f955016c26e8f71.tar.gz
uClibc-a6dfcd03425656208fc548c75f955016c26e8f71.tar.bz2
Jie Zhang writes:0_9_28
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.
-rw-r--r--Rules.mak4
1 files changed, 1 insertions, 3 deletions
diff --git a/Rules.mak b/Rules.mak
index a8655d2ba..1cfffc3d9 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -309,9 +309,7 @@ ifeq ($(UCLIBC_BUILD_NOW),y)
LDFLAGS+=-z now
endif
-# 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