diff options
author | peter <peter@FreeBSD.org> | 2007-07-06 01:50:58 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2007-07-06 01:50:58 +0000 |
commit | 7a16dbe954b1adf5640a179adfe8c6d0773df1d5 (patch) | |
tree | 5017d0307da434012190d3ae2182ed21311f3487 /sys/conf | |
parent | 5543e9851e87f1f0ac04759f1fe56d02271c1cf4 (diff) | |
download | FreeBSD-src-7a16dbe954b1adf5640a179adfe8c6d0773df1d5.zip FreeBSD-src-7a16dbe954b1adf5640a179adfe8c6d0773df1d5.tar.gz |
I did not intend to turn -Werror on for pc98. Refine the test for
turning it on for i386.
Approved by: re (rwatson, followup)
Diffstat (limited to 'sys/conf')
-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 aa3d505..dad0f42 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 |