summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mak')
-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