Fix VM -Wall warnings and enable -Werror

This commit is contained in:
Erik van der Kouwe
2011-06-01 11:30:58 +02:00
parent f7c1307878
commit 0cb22acbda
14 changed files with 52 additions and 68 deletions
+3
View File
@@ -16,6 +16,9 @@ INSTALLFLAGS+= -S 128k
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${ARCH}
CPPFLAGS+= -I${MINIXSRCDIR}
.if ${CC} == gcc
CFLAGS+= -Wall -Werror
.endif
.include "arch/${ARCH}/Makefile.inc"
.include <bsd.prog.mk>