summaryrefslogtreecommitdiff
path: root/sys/arch
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
parent64d661631ff2715f9b53bc2aa2ff1fe90f4a8b23 (diff)
Compile kernels with -Wvariable-decl (except on arches with ipmi, for now).
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/conf/Makefile.alpha4
-rw-r--r--sys/arch/armish/conf/Makefile.armish4
-rw-r--r--sys/arch/aviion/conf/Makefile.aviion4
-rw-r--r--sys/arch/hp300/conf/Makefile.hp3004
-rw-r--r--sys/arch/hppa/conf/Makefile.hppa4
-rw-r--r--sys/arch/hppa64/conf/Makefile.hppa644
-rw-r--r--sys/arch/landisk/conf/Makefile.landisk4
-rw-r--r--sys/arch/luna88k/conf/Makefile.luna88k4
-rw-r--r--sys/arch/mac68k/conf/Makefile.mac68k4
-rw-r--r--sys/arch/macppc/conf/Makefile.macppc4
-rw-r--r--sys/arch/mvme68k/conf/Makefile.mvme68k4
-rw-r--r--sys/arch/mvme88k/conf/Makefile.mvme88k4
-rw-r--r--sys/arch/mvmeppc/conf/Makefile.mvmeppc4
-rw-r--r--sys/arch/sgi/conf/Makefile.sgi4
-rw-r--r--sys/arch/solbourne/conf/Makefile.solbourne4
-rw-r--r--sys/arch/sparc/conf/Makefile.sparc4
-rw-r--r--sys/arch/sparc64/conf/Makefile.sparc642
-rw-r--r--sys/arch/vax/conf/Makefile.vax4
-rw-r--r--sys/arch/zaurus/conf/Makefile.zaurus4
19 files changed, 37 insertions, 37 deletions
diff --git a/sys/arch/alpha/conf/Makefile.alpha b/sys/arch/alpha/conf/Makefile.alpha
index e87f5bb4e65..6e5cf5793ed 100644
--- a/sys/arch/alpha/conf/Makefile.alpha
+++ b/sys/arch/alpha/conf/Makefile.alpha
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.alpha,v 1.42 2007/11/30 07:52:02 miod Exp $
+# $OpenBSD: Makefile.alpha,v 1.43 2008/04/12 21:04:15 miod Exp $
# $NetBSD: Makefile.alpha,v 1.27 1996/12/01 06:12:25 jonathan Exp $
# Makefile for OpenBSD
@@ -33,7 +33,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dalpha
CDIAGFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main \
- -Wstack-larger-than-2047
+ -Wstack-larger-than-2047 -Wvariable-decl
CMACHFLAGS= -mno-fp-regs -fno-builtin-printf -fno-builtin-log \
-finhibit-size-directive -Wa,-mev56
diff --git a/sys/arch/armish/conf/Makefile.armish b/sys/arch/armish/conf/Makefile.armish
index 9059c7273b4..a268703bdf7 100644
--- a/sys/arch/armish/conf/Makefile.armish
+++ b/sys/arch/armish/conf/Makefile.armish
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.armish,v 1.8 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.armish,v 1.9 2008/04/12 21:04:16 miod Exp $
# $NetBSD: Makefile.i386,v 1.67 1996/05/11 16:12:11 mycroft Exp $
# Makefile for OpenBSD
@@ -39,7 +39,7 @@ INCLUDES= -nostdinc -I. -I$S -I$S/arch
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -D__armish__
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main \
- -Wstack-larger-than-2047
+ -Wstack-larger-than-2047 -Wvariable-decl
CMACHFLAGS= -ffreestanding
#CMACHFLAGS= -march=armv4 -mtune=strongarm -ffreestanding
diff --git a/sys/arch/aviion/conf/Makefile.aviion b/sys/arch/aviion/conf/Makefile.aviion
index 5086738fb30..3f3cd67a66b 100644
--- a/sys/arch/aviion/conf/Makefile.aviion
+++ b/sys/arch/aviion/conf/Makefile.aviion
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.aviion,v 1.6 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.aviion,v 1.7 2008/04/12 21:04:16 miod Exp $
#
# Makefile for OpenBSD
#
@@ -38,7 +38,7 @@ INCLUDES= -nostdinc -I. -I$S -I$S/arch
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Daviion -Dm88k
CWARNFLAGS= -Wall -Werror -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main -Wstrict-prototypes \
- -Wstack-larger-than-2047
+ -Wstack-larger-than-2047 -Wvariable-decl
CMACHFLAGS= -mno-check-zero-division -mmemcpy \
-fno-builtin-printf -fno-builtin-log
.if ${IDENT:M-DNO_PROPOLICE}
diff --git a/sys/arch/hp300/conf/Makefile.hp300 b/sys/arch/hp300/conf/Makefile.hp300
index 53a02c806c8..9988ba9ee4a 100644
--- a/sys/arch/hp300/conf/Makefile.hp300
+++ b/sys/arch/hp300/conf/Makefile.hp300
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hp300,v 1.43 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.hp300,v 1.44 2008/04/12 21:04:16 miod Exp $
# $NetBSD: Makefile.hp300,v 1.54 1997/04/01 23:16:41 scottr Exp $
# Makefile for OpenBSD
@@ -40,7 +40,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dhp300
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 -fno-builtin-printf -fno-builtin-log
.if ${IDENT:M-DNO_PROPOLICE}
CMACHFLAGS+= -fno-stack-protector
diff --git a/sys/arch/hppa/conf/Makefile.hppa b/sys/arch/hppa/conf/Makefile.hppa
index ef168886bc0..824bb7cf108 100644
--- a/sys/arch/hppa/conf/Makefile.hppa
+++ b/sys/arch/hppa/conf/Makefile.hppa
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hppa,v 1.32 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.hppa,v 1.33 2008/04/12 21:04:16 miod Exp $
# Makefile for OpenBSD
#
@@ -38,7 +38,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dhppa
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wno-uninitialized \
-Wno-format -Wno-main \
- -Wstack-larger-than-2047
+ -Wstack-larger-than-2047 -Wvariable-decl
CMACHFLAGS= -mfast-indirect-calls -mportable-runtime -mno-space-regs \
-fno-stack-protector -fno-builtin-printf -fno-builtin-log
COPTS?= -Os
diff --git a/sys/arch/hppa64/conf/Makefile.hppa64 b/sys/arch/hppa64/conf/Makefile.hppa64
index fb41b12a22b..cd0eae9f2f2 100644
--- a/sys/arch/hppa64/conf/Makefile.hppa64
+++ b/sys/arch/hppa64/conf/Makefile.hppa64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hppa64,v 1.6 2007/11/25 18:25:28 deraadt Exp $
+# $OpenBSD: Makefile.hppa64,v 1.7 2008/04/12 21:04:16 miod Exp $
# Makefile for OpenBSD
#
@@ -38,7 +38,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dhppa64
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wno-uninitialized \
-Wno-format -Wno-main \
- -Wstack-larger-than-2047
+ -Wstack-larger-than-2047 -Wvariable-decl
CMACHFLAGS= -fno-stack-protector -fno-builtin-log -fno-builtin-printf \
-fno-builtin-snprintf -fno-builtin-vsnprintf
COPTS?= -Os -mpa-risc-2-0 -mno-space-regs -mdisable-fpregs
diff --git a/sys/arch/landisk/conf/Makefile.landisk b/sys/arch/landisk/conf/Makefile.landisk
index 58f94c80023..c726b860096 100644
--- a/sys/arch/landisk/conf/Makefile.landisk
+++ b/sys/arch/landisk/conf/Makefile.landisk
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.landisk,v 1.7 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.landisk,v 1.8 2008/04/12 21:04:16 miod Exp $
#
# Makefile for OpenBSD/landisk
#
@@ -40,7 +40,7 @@ INCLUDES= -I. -I$S -I$S/arch -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dlandisk
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main \
- -Wstack-larger-than-2047
+ -Wstack-larger-than-2047 -Wvariable-decl
CMACHFLAGS= -m4-nofpu \
-fno-builtin-printf -fno-builtin-log -fno-builtin-main
.if ${IDENT:M-DNO_PROPOLICE}
diff --git a/sys/arch/luna88k/conf/Makefile.luna88k b/sys/arch/luna88k/conf/Makefile.luna88k
index 2e4fe87553a..64dae4f442c 100644
--- a/sys/arch/luna88k/conf/Makefile.luna88k
+++ b/sys/arch/luna88k/conf/Makefile.luna88k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.luna88k,v 1.12 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.luna88k,v 1.13 2008/04/12 21:04:17 miod Exp $
#
# Makefile for OpenBSD
#
@@ -38,7 +38,7 @@ INCLUDES= -nostdinc -I. -I$S -I$S/arch
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dluna88k -Dm88k
CWARNFLAGS= -Wall -Werror -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main -Wstrict-prototypes \
- -Wstack-larger-than-2047
+ -Wstack-larger-than-2047 -Wvariable-decl
CMACHFLAGS= -mno-check-zero-division -mmemcpy \
-fno-builtin-printf -fno-builtin-log
.if ${IDENT:M-DNO_PROPOLICE}
diff --git a/sys/arch/mac68k/conf/Makefile.mac68k b/sys/arch/mac68k/conf/Makefile.mac68k
index 07c9fdc9a08..f53cbfed13d 100644
--- a/sys/arch/mac68k/conf/Makefile.mac68k
+++ b/sys/arch/mac68k/conf/Makefile.mac68k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mac68k,v 1.39 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.mac68k,v 1.40 2008/04/12 21:04:17 miod Exp $
# $NetBSD: Makefile.mac68k,v 1.53 1997/04/15 06:11:38 scottr Exp $
# Makefile for OpenBSD
@@ -40,7 +40,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dmac68k
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 -fno-builtin-printf -fno-builtin-log
.if ${IDENT:M-DNO_PROPOLICE}
CMACHFLAGS+= -fno-stack-protector
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
diff --git a/sys/arch/mvme68k/conf/Makefile.mvme68k b/sys/arch/mvme68k/conf/Makefile.mvme68k
index 9334359ecc9..b8700528de2 100644
--- a/sys/arch/mvme68k/conf/Makefile.mvme68k
+++ b/sys/arch/mvme68k/conf/Makefile.mvme68k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvme68k,v 1.31 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.mvme68k,v 1.32 2008/04/12 21:04:17 miod Exp $
# This makefile is constructed from a machine description:
# config machineid
@@ -37,7 +37,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dmvme68k
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 -fno-builtin-printf -fno-builtin-log
.if ${IDENT:M-DNO_PROPOLICE}
diff --git a/sys/arch/mvme88k/conf/Makefile.mvme88k b/sys/arch/mvme88k/conf/Makefile.mvme88k
index 3f62ab16e0c..0d3ba8c274c 100644
--- a/sys/arch/mvme88k/conf/Makefile.mvme88k
+++ b/sys/arch/mvme88k/conf/Makefile.mvme88k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvme88k,v 1.43 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.mvme88k,v 1.44 2008/04/12 21:04:17 miod Exp $
#
# Makefile for OpenBSD
#
@@ -38,7 +38,7 @@ INCLUDES= -nostdinc -I. -I$S -I$S/arch
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dmvme88k -Dm88k
CWARNFLAGS= -Wall -Werror -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main -Wstrict-prototypes \
- -Wstack-larger-than-2047
+ -Wstack-larger-than-2047 -Wvariable-decl
CMACHFLAGS= -mno-check-zero-division -mmemcpy \
-fno-builtin-printf -fno-builtin-log
.if ${IDENT:M-DNO_PROPOLICE}
diff --git a/sys/arch/mvmeppc/conf/Makefile.mvmeppc b/sys/arch/mvmeppc/conf/Makefile.mvmeppc
index 4ab815ae112..46fb7a7cbc9 100644
--- a/sys/arch/mvmeppc/conf/Makefile.mvmeppc
+++ b/sys/arch/mvmeppc/conf/Makefile.mvmeppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvmeppc,v 1.26 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.mvmeppc,v 1.27 2008/04/12 21:04:17 miod Exp $
#
# Makefile for OpenBSD PowerPC
#
@@ -40,7 +40,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL \
-D__mvmeppc__
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,-m7400 -fno-builtin-printf -fno-builtin-log
.if ${IDENT:M-DNO_PROPOLICE}
CMACHFLAGS+= -fno-stack-protector
diff --git a/sys/arch/sgi/conf/Makefile.sgi b/sys/arch/sgi/conf/Makefile.sgi
index cc37d0e3716..5cdcd5d6e91 100644
--- a/sys/arch/sgi/conf/Makefile.sgi
+++ b/sys/arch/sgi/conf/Makefile.sgi
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sgi,v 1.19 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.sgi,v 1.20 2008/04/12 21:04:17 miod Exp $
# Makefile for OpenBSD
#
@@ -49,7 +49,7 @@ INCLUDES= -I. -I$S -I$S/arch -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -D__sgi__
CDIAGFLAGS= -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes \
-Wno-uninitialized -Wno-format -Wno-main \
- -Wstack-larger-than-2047
+ -Wstack-larger-than-2047 -Wvariable-decl
CMACHFLAGS+= -mno-abicalls ${ABI} -msoft-float \
-fno-builtin-printf -fno-builtin-log
.if ${IDENT:M-DNO_PROPOLICE}
diff --git a/sys/arch/solbourne/conf/Makefile.solbourne b/sys/arch/solbourne/conf/Makefile.solbourne
index b21b9d18a5e..1fcda7f1f00 100644
--- a/sys/arch/solbourne/conf/Makefile.solbourne
+++ b/sys/arch/solbourne/conf/Makefile.solbourne
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.solbourne,v 1.7 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.solbourne,v 1.8 2008/04/12 21:04:17 miod Exp $
# Makefile for OpenBSD
#
@@ -38,7 +38,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dsparc -Dsolbourne
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main \
- -Wstack-larger-than-2047
+ -Wstack-larger-than-2047 -Wvariable-decl
CMACHFLAGS= -fno-builtin-printf -fno-builtin-log
.if ${IDENT:M-DNO_PROPOLICE}
diff --git a/sys/arch/sparc/conf/Makefile.sparc b/sys/arch/sparc/conf/Makefile.sparc
index 100c9fe98da..c459619e533 100644
--- a/sys/arch/sparc/conf/Makefile.sparc
+++ b/sys/arch/sparc/conf/Makefile.sparc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sparc,v 1.42 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.sparc,v 1.43 2008/04/12 21:04:17 miod Exp $
# $NetBSD: Makefile.sparc,v 1.32.4.1 1996/06/12 20:26:32 pk Exp $
# Makefile for OpenBSD
@@ -39,7 +39,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dsparc
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main \
- -Wstack-larger-than-2047
+ -Wstack-larger-than-2047 -Wvariable-decl
.if ${IDENT:M-DSUN*} == ${IDENT:M-DSUN4M}
CMACHFLAGS= -mcpu=supersparc
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}
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
diff --git a/sys/arch/zaurus/conf/Makefile.zaurus b/sys/arch/zaurus/conf/Makefile.zaurus
index fc9875e351d..2640ed152ab 100644
--- a/sys/arch/zaurus/conf/Makefile.zaurus
+++ b/sys/arch/zaurus/conf/Makefile.zaurus
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.zaurus,v 1.11 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.zaurus,v 1.12 2008/04/12 21:04:17 miod Exp $
# $NetBSD: Makefile.i386,v 1.67 1996/05/11 16:12:11 mycroft Exp $
# Makefile for OpenBSD
@@ -39,7 +39,7 @@ INCLUDES= -nostdinc -I. -I$S -I$S/arch
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -D__zaurus__
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main \
- -Wstack-larger-than-2047
+ -Wstack-larger-than-2047 -Wvariable-decl
CMACHFLAGS= -ffreestanding
#CMACHFLAGS= -march=armv4 -mtune=strongarm -ffreestanding