Эх сурвалжийг харах

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.

Mike Frysinger 18 жил өмнө
parent
commit
2435be015f
1 өөрчлөгдсөн 1 нэмэгдсэн , 3 устгасан
  1. 1 3
      Rules.mak

+ 1 - 3
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