summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/alpha/conf/Makefile.alpha5
-rw-r--r--sys/arch/amd64/conf/Makefile.amd645
-rw-r--r--sys/arch/armish/conf/Makefile.armish5
-rw-r--r--sys/arch/aviion/conf/Makefile.aviion5
-rw-r--r--sys/arch/cats/conf/Makefile.cats7
-rw-r--r--sys/arch/hp300/conf/Makefile.hp3005
-rw-r--r--sys/arch/hppa/conf/Makefile.hppa5
-rw-r--r--sys/arch/hppa64/conf/Makefile.hppa645
-rw-r--r--sys/arch/i386/conf/Makefile.i3865
-rw-r--r--sys/arch/luna88k/conf/Makefile.luna88k5
-rw-r--r--sys/arch/mac68k/conf/Makefile.mac68k5
-rw-r--r--sys/arch/macppc/conf/Makefile.macppc5
-rw-r--r--sys/arch/mvme68k/conf/Makefile.mvme68k5
-rw-r--r--sys/arch/mvme88k/conf/Makefile.mvme88k5
-rw-r--r--sys/arch/mvmeppc/conf/Makefile.mvmeppc5
-rw-r--r--sys/arch/sgi/conf/Makefile.sgi5
-rw-r--r--sys/arch/solbourne/conf/Makefile.solbourne5
-rw-r--r--sys/arch/sparc/conf/Makefile.sparc5
-rw-r--r--sys/arch/sparc64/conf/Makefile.sparc643
-rw-r--r--sys/arch/vax/conf/Makefile.vax5
-rw-r--r--sys/arch/zaurus/conf/Makefile.zaurus5
21 files changed, 63 insertions, 42 deletions
diff --git a/sys/arch/alpha/conf/Makefile.alpha b/sys/arch/alpha/conf/Makefile.alpha
index 674f58afc6d..301aa499843 100644
--- a/sys/arch/alpha/conf/Makefile.alpha
+++ b/sys/arch/alpha/conf/Makefile.alpha
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.alpha,v 1.37 2006/06/01 21:46:27 pascoe Exp $
+# $OpenBSD: Makefile.alpha,v 1.38 2006/07/27 05:58:09 miod Exp $
# $NetBSD: Makefile.alpha,v 1.27 1996/12/01 06:12:25 jonathan Exp $
# Makefile for OpenBSD
@@ -32,7 +32,8 @@ INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dalpha
CDIAGFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main
+ -Wno-uninitialized -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
CMACHFLAGS= -mno-fp-regs -fno-builtin-printf -fno-builtin-log \
-finhibit-size-directive -Wa,-mev56
diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64
index 9151e05f2d7..06b4987d3c8 100644
--- a/sys/arch/amd64/conf/Makefile.amd64
+++ b/sys/arch/amd64/conf/Makefile.amd64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.amd64,v 1.8 2006/06/01 21:46:27 pascoe Exp $
+# $OpenBSD: Makefile.amd64,v 1.9 2006/07/27 05:58:11 miod Exp $
# Makefile for OpenBSD
#
@@ -36,7 +36,8 @@ AMD64= $S/arch/amd64
INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Damd64 -Dx86_64
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main -Wno-sign-compare
+ -Wno-uninitialized -Wno-format -Wno-main -Wno-sign-compare \
+ -Wstack-larger-than-2047
CMACHFLAGS+= -mcmodel=kernel -mno-red-zone -fno-strict-aliasing \
-mno-sse2 -mno-sse -mno-3dnow -mno-mmx -msoft-float \
diff --git a/sys/arch/armish/conf/Makefile.armish b/sys/arch/armish/conf/Makefile.armish
index 7fa33858cc9..584bbc28800 100644
--- a/sys/arch/armish/conf/Makefile.armish
+++ b/sys/arch/armish/conf/Makefile.armish
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.armish,v 1.3 2006/06/26 03:45:07 drahn Exp $
+# $OpenBSD: Makefile.armish,v 1.4 2006/07/27 05:58:11 miod Exp $
# $NetBSD: Makefile.i386,v 1.67 1996/05/11 16:12:11 mycroft Exp $
# Makefile for OpenBSD
@@ -38,7 +38,8 @@ ARM= $S/arch/arm
INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -D__armish__
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main
+ -Wno-uninitialized -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
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 1b3c080f2df..23cbbeefaa9 100644
--- a/sys/arch/aviion/conf/Makefile.aviion
+++ b/sys/arch/aviion/conf/Makefile.aviion
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.aviion,v 1.1 2006/05/09 18:12:01 miod Exp $
+# $OpenBSD: Makefile.aviion,v 1.2 2006/07/27 05:58:11 miod Exp $
#
# Makefile for OpenBSD
#
@@ -37,7 +37,8 @@ M88K= $S/arch/m88k
INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Daviion -Dm88k
CWARNFLAGS= -Wall -Werror -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main -Wstrict-prototypes
+ -Wno-uninitialized -Wno-format -Wno-main -Wstrict-prototypes \
+ -Wstack-larger-than-2047
CMACHFLAGS= -mno-check-zero-division -mmemcpy \
-fno-builtin-printf -fno-builtin-log
.if ${IDENT:M-DNO_PROPOLICE}
diff --git a/sys/arch/cats/conf/Makefile.cats b/sys/arch/cats/conf/Makefile.cats
index 7556bce99b9..cf87b9ffdc0 100644
--- a/sys/arch/cats/conf/Makefile.cats
+++ b/sys/arch/cats/conf/Makefile.cats
@@ -1,5 +1,5 @@
-# $OpenBSD: Makefile.cats,v 1.5 2006/06/01 21:46:27 pascoe Exp $
-# $OpenBSD: Makefile.cats,v 1.5 2006/06/01 21:46:27 pascoe Exp $
+# $OpenBSD: Makefile.cats,v 1.6 2006/07/27 05:58:11 miod Exp $
+# $OpenBSD: Makefile.cats,v 1.6 2006/07/27 05:58:11 miod Exp $
# $NetBSD: Makefile.i386,v 1.67 1996/05/11 16:12:11 mycroft Exp $
# Makefile for OpenBSD
@@ -39,7 +39,8 @@ ARM= $S/arch/arm
INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -D__cats__
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main
+ -Wno-uninitialized -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
CMACHFLAGS= -ffreestanding
#CMACHFLAGS= -march=armv4 -mtune=strongarm -ffreestanding
diff --git a/sys/arch/hp300/conf/Makefile.hp300 b/sys/arch/hp300/conf/Makefile.hp300
index 4b1be9c59b7..f4d2ad6f451 100644
--- a/sys/arch/hp300/conf/Makefile.hp300
+++ b/sys/arch/hp300/conf/Makefile.hp300
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hp300,v 1.38 2005/09/27 22:05:36 miod Exp $
+# $OpenBSD: Makefile.hp300,v 1.39 2006/07/27 05:58:11 miod Exp $
# $NetBSD: Makefile.hp300,v 1.54 1997/04/01 23:16:41 scottr Exp $
# Makefile for OpenBSD
@@ -39,7 +39,8 @@ INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dhp300
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main
+ -Wno-uninitialized -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
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 e0001023878..b49726e2c1b 100644
--- a/sys/arch/hppa/conf/Makefile.hppa
+++ b/sys/arch/hppa/conf/Makefile.hppa
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hppa,v 1.26 2006/06/01 21:46:27 pascoe Exp $
+# $OpenBSD: Makefile.hppa,v 1.27 2006/07/27 05:58:11 miod Exp $
# Makefile for OpenBSD
#
@@ -37,7 +37,8 @@ INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dhppa
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wno-uninitialized \
- -Wno-format -Wno-main
+ -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
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 fd9c57129d1..c7876d11dcc 100644
--- a/sys/arch/hppa64/conf/Makefile.hppa64
+++ b/sys/arch/hppa64/conf/Makefile.hppa64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hppa64,v 1.2 2006/06/01 21:46:27 pascoe Exp $
+# $OpenBSD: Makefile.hppa64,v 1.3 2006/07/27 05:58:11 miod Exp $
# Makefile for OpenBSD
#
@@ -37,7 +37,8 @@ INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dhppa64
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wno-uninitialized \
- -Wno-format -Wno-main
+ -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
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/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386
index ba6faa7b24b..f43ca12101b 100644
--- a/sys/arch/i386/conf/Makefile.i386
+++ b/sys/arch/i386/conf/Makefile.i386
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.i386,v 1.43 2006/06/01 21:46:27 pascoe Exp $
+# $OpenBSD: Makefile.i386,v 1.44 2006/07/27 05:58:11 miod Exp $
# Makefile for OpenBSD
#
@@ -36,7 +36,8 @@ I386= $S/arch/i386
INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Di386
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main
+ -Wno-uninitialized -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
.if !${IDENT:M-DI386_CPU}
CMACHFLAGS= -march=i486
diff --git a/sys/arch/luna88k/conf/Makefile.luna88k b/sys/arch/luna88k/conf/Makefile.luna88k
index 67067d907cc..c025de6f948 100644
--- a/sys/arch/luna88k/conf/Makefile.luna88k
+++ b/sys/arch/luna88k/conf/Makefile.luna88k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.luna88k,v 1.7 2006/05/04 19:24:11 miod Exp $
+# $OpenBSD: Makefile.luna88k,v 1.8 2006/07/27 05:58:11 miod Exp $
#
# Makefile for OpenBSD
#
@@ -37,7 +37,8 @@ M88K= $S/arch/m88k
INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dluna88k -Dm88k
CWARNFLAGS= -Wall -Werror -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main -Wstrict-prototypes
+ -Wno-uninitialized -Wno-format -Wno-main -Wstrict-prototypes \
+ -Wstack-larger-than-2047
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 1b98ecfe1a5..21dc6268e3d 100644
--- a/sys/arch/mac68k/conf/Makefile.mac68k
+++ b/sys/arch/mac68k/conf/Makefile.mac68k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mac68k,v 1.34 2003/11/21 17:53:19 espie Exp $
+# $OpenBSD: Makefile.mac68k,v 1.35 2006/07/27 05:58:11 miod Exp $
# $NetBSD: Makefile.mac68k,v 1.53 1997/04/15 06:11:38 scottr Exp $
# Makefile for OpenBSD
@@ -39,7 +39,8 @@ INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dmac68k
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main
+ -Wno-uninitialized -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
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 486673e4215..1c76adbab24 100644
--- a/sys/arch/macppc/conf/Makefile.macppc
+++ b/sys/arch/macppc/conf/Makefile.macppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.macppc,v 1.23 2006/06/01 21:46:27 pascoe Exp $
+# $OpenBSD: Makefile.macppc,v 1.24 2006/07/27 05:58:11 miod Exp $
#
# Makefile for OpenBSD PowerPC
#
@@ -39,7 +39,8 @@ INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL \
-D__macppc__
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main
+ -Wno-uninitialized -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
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 ea9176f8e79..59d376cac3b 100644
--- a/sys/arch/mvme68k/conf/Makefile.mvme68k
+++ b/sys/arch/mvme68k/conf/Makefile.mvme68k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvme68k,v 1.26 2005/02/20 15:34:03 miod Exp $
+# $OpenBSD: Makefile.mvme68k,v 1.27 2006/07/27 05:58:11 miod Exp $
# This makefile is constructed from a machine description:
# config machineid
@@ -36,7 +36,8 @@ INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dmvme68k
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main
+ -Wno-uninitialized -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
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 7b0608d9103..0a3d7b525a4 100644
--- a/sys/arch/mvme88k/conf/Makefile.mvme88k
+++ b/sys/arch/mvme88k/conf/Makefile.mvme88k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvme88k,v 1.38 2006/05/04 19:24:12 miod Exp $
+# $OpenBSD: Makefile.mvme88k,v 1.39 2006/07/27 05:58:11 miod Exp $
#
# Makefile for OpenBSD
#
@@ -37,7 +37,8 @@ M88K= $S/arch/m88k
INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dmvme88k -Dm88k
CWARNFLAGS= -Wall -Werror -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main -Wstrict-prototypes
+ -Wno-uninitialized -Wno-format -Wno-main -Wstrict-prototypes \
+ -Wstack-larger-than-2047
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 9c07a3e342e..e2749713aee 100644
--- a/sys/arch/mvmeppc/conf/Makefile.mvmeppc
+++ b/sys/arch/mvmeppc/conf/Makefile.mvmeppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvmeppc,v 1.21 2006/06/01 21:46:27 pascoe Exp $
+# $OpenBSD: Makefile.mvmeppc,v 1.22 2006/07/27 05:58:11 miod Exp $
#
# Makefile for OpenBSD PowerPC
#
@@ -39,7 +39,8 @@ INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL \
-D__mvmeppc__
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main
+ -Wno-uninitialized -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
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 b1c46b03b8f..198769a85ee 100644
--- a/sys/arch/sgi/conf/Makefile.sgi
+++ b/sys/arch/sgi/conf/Makefile.sgi
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sgi,v 1.12 2006/06/01 21:46:28 pascoe Exp $
+# $OpenBSD: Makefile.sgi,v 1.13 2006/07/27 05:58:12 miod Exp $
# Makefile for OpenBSD
#
@@ -48,7 +48,8 @@ MIPS64= $S/arch/mips64
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -D__sgi__
CDIAGFLAGS= -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main
+ -Wno-uninitialized -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
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 2021fba0f5e..de7090d3fe3 100644
--- a/sys/arch/solbourne/conf/Makefile.solbourne
+++ b/sys/arch/solbourne/conf/Makefile.solbourne
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.solbourne,v 1.2 2006/06/01 21:46:28 pascoe Exp $
+# $OpenBSD: Makefile.solbourne,v 1.3 2006/07/27 05:58:12 miod Exp $
# Makefile for OpenBSD
#
@@ -37,7 +37,8 @@ INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dsparc -Dsolbourne
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main
+ -Wno-uninitialized -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
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 758c13389f6..e27b9742c8a 100644
--- a/sys/arch/sparc/conf/Makefile.sparc
+++ b/sys/arch/sparc/conf/Makefile.sparc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sparc,v 1.35 2006/06/01 21:46:28 pascoe Exp $
+# $OpenBSD: Makefile.sparc,v 1.36 2006/07/27 05:58:12 miod Exp $
# $NetBSD: Makefile.sparc,v 1.32.4.1 1996/06/12 20:26:32 pk Exp $
# Makefile for OpenBSD
@@ -38,7 +38,8 @@ INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dsparc
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main
+ -Wno-uninitialized -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
.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 9fdb486a73d..75d7707351f 100644
--- a/sys/arch/sparc64/conf/Makefile.sparc64
+++ b/sys/arch/sparc64/conf/Makefile.sparc64
@@ -16,7 +16,8 @@ INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main
+ -Wno-uninitialized -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
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 abc031eaacb..2c8221cdc93 100644
--- a/sys/arch/vax/conf/Makefile.vax
+++ b/sys/arch/vax/conf/Makefile.vax
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.vax,v 1.26 2003/11/24 16:11:25 espie Exp $
+# $OpenBSD: Makefile.vax,v 1.27 2006/07/27 05:58:12 miod Exp $
# $NetBSD: Makefile.vax,v 1.49 1999/07/26 05:20:49 cgd Exp $
# Makefile for OpenBSD/vax
@@ -66,7 +66,8 @@ INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-D_VAX_INLINE_
CWARNFLAGS?= -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes \
- -Wno-main -Wno-format -Wno-uninitialized
+ -Wno-main -Wno-format -Wno-uninitialized \
+ -Wstack-larger-than-2047
.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 0aef4c4fea2..6360f3a6efa 100644
--- a/sys/arch/zaurus/conf/Makefile.zaurus
+++ b/sys/arch/zaurus/conf/Makefile.zaurus
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.zaurus,v 1.6 2006/06/01 21:46:28 pascoe Exp $
+# $OpenBSD: Makefile.zaurus,v 1.7 2006/07/27 05:58:12 miod Exp $
# $NetBSD: Makefile.i386,v 1.67 1996/05/11 16:12:11 mycroft Exp $
# Makefile for OpenBSD
@@ -38,7 +38,8 @@ ARM= $S/arch/arm
INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -D__zaurus__
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main
+ -Wno-uninitialized -Wno-format -Wno-main \
+ -Wstack-larger-than-2047
CMACHFLAGS= -ffreestanding
#CMACHFLAGS= -march=armv4 -mtune=strongarm -ffreestanding