diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2014-10-04 18:10:16 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2014-10-04 18:10:16 +0000 |
commit | 34343586bcc05ad3721ebff2b2418a0348327863 (patch) | |
tree | e764b2433eeb6c6a3a75d593008efc56fe91356d /sys/arch/armv7 | |
parent | 6abd806b75c054668bf54653aa99fcc2d424526f (diff) |
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@
Diffstat (limited to 'sys/arch/armv7')
-rw-r--r-- | sys/arch/armv7/conf/Makefile.armv7 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armv7/conf/Makefile.armv7 b/sys/arch/armv7/conf/Makefile.armv7 index 2610fa298ab..52200bf6602 100644 --- a/sys/arch/armv7/conf/Makefile.armv7 +++ b/sys/arch/armv7/conf/Makefile.armv7 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.armv7,v 1.4 2014/05/08 21:17:01 miod Exp $ +# $OpenBSD: Makefile.armv7,v 1.5 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=armv6 CMACHFLAGS+= -fno-builtin-printf -fno-builtin-snprintf \ |