diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-09-21 19:49:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-09-21 19:49:04 +0000 |
commit | 2435be015f6d4cdc8c93dcf621c80cb5ed1b03bc (patch) | |
tree | 6d145b80209a4335e19174a8f4c61ca39c7c4086 | |
parent | 0e51d28d063d61b36dfbbbdcbae32ec055611ec8 (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.mak | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |