Re-enable -Werror for modules.

Tested by compiling LINT (amd64 i386 ia64 pc98 powerpc sparc64 sun4v).
This commit is contained in:
ru 2007-11-19 16:24:10 +00:00
parent 742eb19799
commit 4833340b9c

View File

@ -79,7 +79,7 @@ CFLAGS:= ${CFLAGS:C/(-x[^M^K^W]+)[MKW]+|-x[MKW]+/\1/}
. if !empty(CFLAGS:M-O[23s]) && empty(CFLAGS:M-fno-strict-aliasing)
CFLAGS+= -fno-strict-aliasing
. endif
#WERROR?= -Werror
WERROR?= -Werror
.endif
CFLAGS+= ${WERROR}
CFLAGS+= -D_KERNEL