Turns out GCC 3.x support -isystem also, they just don't document it.
[pintos-anon] / src / Make.config
index 8744f0da4a764c4022f72669668a498f271c6bea..5cee541eb41dc780ec2936bfccee07ae4dcaf177 100644 (file)
@@ -22,7 +22,7 @@ endif
 DEFINES =
 WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wsystem-headers
 CFLAGS = -g -MMD -msoft-float -masm=intel
-CPPFLAGS = -nostdinc -I$(SRCDIR) -I- -I$(SRCDIR)/lib
+CPPFLAGS = -nostdinc -I$(SRCDIR) -isystem $(SRCDIR)/lib
 ASFLAGS = -Wa,--gstabs -MMD
 LDFLAGS =