summaryrefslogtreecommitdiff
path: root/sys/arch/vax/conf
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/vax/conf
parent64d661631ff2715f9b53bc2aa2ff1fe90f4a8b23 (diff)
Compile kernels with -Wvariable-decl (except on arches with ipmi, for now).
Diffstat (limited to 'sys/arch/vax/conf')
-rw-r--r--sys/arch/vax/conf/Makefile.vax4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/conf/Makefile.vax b/sys/arch/vax/conf/Makefile.vax
index e50b8d5c1a1..7083c99a686 100644
--- a/sys/arch/vax/conf/Makefile.vax
+++ b/sys/arch/vax/conf/Makefile.vax
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.vax,v 1.31 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.vax,v 1.32 2008/04/12 21:04:17 miod Exp $
# $NetBSD: Makefile.vax,v 1.49 1999/07/26 05:20:49 cgd Exp $
# Makefile for OpenBSD/vax
@@ -67,7 +67,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-D_VAX_INLINE_
CWARNFLAGS?= -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes \
-Wno-main -Wno-format -Wno-uninitialized \
- -Wstack-larger-than-2047
+ -Wstack-larger-than-2047 -Wvariable-decl
.if ${IDENT:M-DNO_PROPOLICE}
CMACHFLAGS+= -fno-stack-protector
.endif