Re-enable -Werror for modules.
Tested by compiling LINT (amd64 i386 ia64 pc98 powerpc sparc64 sun4v).
This commit is contained in:
parent
742eb19799
commit
4833340b9c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user