summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
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/sparc64
parent64d661631ff2715f9b53bc2aa2ff1fe90f4a8b23 (diff)
Compile kernels with -Wvariable-decl (except on arches with ipmi, for now).
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/conf/Makefile.sparc642
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/sparc64/conf/Makefile.sparc64 b/sys/arch/sparc64/conf/Makefile.sparc64
index 492e3a73b24..774956481fb 100644
--- a/sys/arch/sparc64/conf/Makefile.sparc64
+++ b/sys/arch/sparc64/conf/Makefile.sparc64
@@ -17,7 +17,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main \
- -Wstack-larger-than-2047
+ -Wstack-larger-than-2047 -Wvariable-decl
CMACHFLAGS= -Wa,-Av9a, -mno-fpu -fno-builtin-printf -fno-builtin-log
.if ${IDENT:M-DNO_PROPOLICE}