summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-09-21 19:49:04 +0000
committerMike Frysinger <vapier@gentoo.org>2007-09-21 19:49:04 +0000
commit2435be015f6d4cdc8c93dcf621c80cb5ed1b03bc (patch)
tree6d145b80209a4335e19174a8f4c61ca39c7c4086
parent0e51d28d063d61b36dfbbbdcbae32ec055611ec8 (diff)
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.
-rw-r--r--Rules.mak4
1 files changed, 1 insertions, 3 deletions
diff --git a/Rules.mak b/Rules.mak
index 3c656d4e2..c97fcbd3e 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -487,9 +487,7 @@ else
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