I did not intend to turn -Werror on for pc98. Refine the test for

turning it on for i386.

Approved by:  re (rwatson, followup)
This commit is contained in:
Peter Wemm 2007-07-06 01:50:58 +00:00
parent 0a6bd02876
commit 01f7d072de

View File

@ -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" || ${MACHINE_ARCH} == "i386" || \
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE} == "i386" || \
${MACHINE_ARCH} == "sparc64"
WERROR?= -Werror
.endif