summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-04-12 21:04:18 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-04-12 21:04:18 +0000
commit8ec925393e05b8ba91ac20034116a3647f9afaa8 (patch)
tree25bf71d3766b8a7dcaf5d3e9dec4b1f3429251e2 /sys/arch/macppc
parent64d661631ff2715f9b53bc2aa2ff1fe90f4a8b23 (diff)
Compile kernels with -Wvariable-decl (except on arches with ipmi, for now).
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/conf/Makefile.macppc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/conf/Makefile.macppc b/sys/arch/macppc/conf/Makefile.macppc
index d4c2bdec0d2..979a9d0599e 100644
--- a/sys/arch/macppc/conf/Makefile.macppc
+++ b/sys/arch/macppc/conf/Makefile.macppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.macppc,v 1.28 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.macppc,v 1.29 2008/04/12 21:04:17 miod Exp $
#
# Makefile for OpenBSD PowerPC
#
@@ -40,7 +40,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL \
-D__macppc__
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main \
- -Wstack-larger-than-2047
+ -Wstack-larger-than-2047 -Wvariable-decl
CMACHFLAGS= -msoft-float -Wa,-many -fno-builtin-printf -fno-builtin-log
.if ${IDENT:M-DNO_PROPOLICE}
CMACHFLAGS+= -fno-stack-protector