summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-07-27 05:58:13 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-07-27 05:58:13 +0000
commite321bb4f02f8d259815fefaaf8ceb40153674b51 (patch)
tree77f3f5288ae6e1dce4daa7fc60a2958127190cda /sys/arch/amd64
parent34aa0a61adcf1ff6404e30f1f422ba690b2c0a29 (diff)
Compile all kernels with -Wstack-usage-larger-than-2047, now that all
offending code has been taken out and shot. ok deraadt@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/conf/Makefile.amd645
1 files changed, 3 insertions, 2 deletions
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 \