Modify device to take a binary struct.
[akaros.git] / Makefile
index 7621e3c..27eb77a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -367,7 +367,8 @@ export CFLAGS_KERNEL AFLAGS_KERNEL
 export NOSTDINC_FLAGS XCC_TARGET_ROOT XCC_TARGET_LIB XCC_TARGET_INCLUDE
 export KBUILD_BUILTIN KBUILD_CHECKSRC
 
-CFLAGS_USER += -O2 -std=gnu99 -fno-stack-protector -fgnu89-inline
+CFLAGS_USER += -O2 -std=gnu99 -fno-stack-protector -fgnu89-inline \
+               -Wsystem-headers
 CXXFLAGS_USER += -O2
 CFLAGS_USER_LIBS += -fPIC -static -fno-omit-frame-pointer -g