From 2c8230f498bfc28ed59a140e3031a78c7dbda32e Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 2 Feb 2008 07:43:38 +0000 Subject: Wall of shame rather than wall of fame for the -Werror suppression. If we aren't arm, pc98 or sun4v, then enable treating warnings like errors. That doesn't mean these platforms aren't -Werror clean, just that we haven't enforced it before. Someone with some spare time should investigate these three platforms to see if any can be removed. --- sys/conf/kern.pre.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/conf/kern.pre.mk') diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk index a5139f1..5aabf31 100644 --- a/sys/conf/kern.pre.mk +++ b/sys/conf/kern.pre.mk @@ -87,9 +87,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} == "i386" || \ - ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "powerpc" || \ - ${MACHINE_ARCH} == "sparc64" +.if ${MACHINE} != "pc98" && ${MACHINE_ARCH} != "arm" && ${MACHINE} != "sun4v" WERROR?= -Werror .endif .endif -- cgit v1.1