Turn on -Werror for i386 kernel builds.
Approved by: re (rwatson)
This commit is contained in:
parent
b3d37ca5f8
commit
8032d6336f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171248
@ -90,7 +90,7 @@ CFLAGS+= ${INCLUDES} -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.
|
||||
CFLAGS+= -fno-common -finline-limit=${INLINE_LIMIT}
|
||||
CFLAGS+= --param inline-unit-growth=100
|
||||
CFLAGS+= --param large-function-growth=1000
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
||||
WERROR?= -Werror
|
||||
.endif
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user