From 34343586bcc05ad3721ebff2b2418a0348327863 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sat, 4 Oct 2014 18:10:16 +0000 Subject: Switch the kernel configs over to using -Wframe-larger-than= instead of -Wstack-larger-than-. This is what modern GCC supports as well as LLVM. ok miod@ --- sys/arch/armish/conf/Makefile.armish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/armish/conf') diff --git a/sys/arch/armish/conf/Makefile.armish b/sys/arch/armish/conf/Makefile.armish index 9a27f721c81..be590efccff 100644 --- a/sys/arch/armish/conf/Makefile.armish +++ b/sys/arch/armish/conf/Makefile.armish @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.armish,v 1.48 2014/05/08 21:17:01 miod Exp $ +# $OpenBSD: Makefile.armish,v 1.49 2014/10/04 18:10:14 brad Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -25,7 +25,7 @@ INCLUDES= -nostdinc -I$S -I. -I$S/arch CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D__${_mach}__ -MD -MP CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ -Wno-main -Wno-uninitialized \ - -Wstack-larger-than-2047 + -Wframe-larger-than=2047 CMACHFLAGS= -ffreestanding -msoft-float # -march=armv4 -mtune=strongarm CMACHFLAGS+= -fno-builtin-printf -fno-builtin-snprintf \ -- cgit v1.2.3