From 2435be015f6d4cdc8c93dcf621c80cb5ed1b03bc Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 21 Sep 2007 19:49:04 +0000 Subject: 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. --- Rules.mak | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Rules.mak') 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 -- cgit v1.2.3