diff options
author | Peter Wemm <peter@FreeBSD.org> | 2007-07-06 01:50:58 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2007-07-06 01:50:58 +0000 |
commit | 01f7d072def60f2e097697c85d4ce9bc17e3ae01 (patch) | |
tree | 5017d0307da434012190d3ae2182ed21311f3487 /sys | |
parent | 0a6bd02876bde979fef5298a23d9362a16aef70a (diff) | |
download | src-01f7d072def60f2e097697c85d4ce9bc17e3ae01.tar.gz src-01f7d072def60f2e097697c85d4ce9bc17e3ae01.zip |
I did not intend to turn -Werror on for pc98. Refine the test for
turning it on for i386.
Approved by: re (rwatson, followup)
Notes
Notes:
svn path=/head/; revision=171267
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/kern.pre.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk index aa3d505c6532..dad0f4264d94 100644 --- a/sys/conf/kern.pre.mk +++ b/sys/conf/kern.pre.mk @@ -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 |