summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2007-08-08 19:12:06 +0000
committermarcel <marcel@FreeBSD.org>2007-08-08 19:12:06 +0000
commitbcc9fe49c4d9a3a059edb4a8d1bd017abb27db7e (patch)
tree7f32c5237a93f76322837bd75cc82760fc14899f
parent1b5640bcfba8371fa7eff33bd98c2460d542ca4f (diff)
downloadFreeBSD-src-bcc9fe49c4d9a3a059edb4a8d1bd017abb27db7e.zip
FreeBSD-src-bcc9fe49c4d9a3a059edb4a8d1bd017abb27db7e.tar.gz
Re-enable -Werror for PowerPC. This should really be unconditional again.
Approved by: re (blanket)
-rw-r--r--sys/conf/kern.pre.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
index 89b19ba..a5139f1 100644
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -88,7 +88,8 @@ 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} == "sparc64"
+ ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "powerpc" || \
+ ${MACHINE_ARCH} == "sparc64"
WERROR?= -Werror
.endif
.endif
OpenPOWER on IntegriCloud