Add -Wsystem-headers.
[pintos-anon] / src / Make.config
index d4143b84b857119e1bffb419df05d5671bd70a29..dd7631327b8db857d67ee41b98486e6a5bc24028 100644 (file)
@@ -22,7 +22,7 @@ RM = rm
 CAT = cat
 
 # Compiler and assembler invocation.
-WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes
+WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wsystem-headers
 CFLAGS = -g -O3 -MMD -msoft-float 
 ASFLAGS = -Wa,--gstabs -MMD