summaryrefslogtreecommitdiff
path: root/sys/arch/armv7
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2018-09-12 04:35:00 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2018-09-12 04:35:00 +0000
commite55f253f4f87913ac139b207d8d23303fe86a63a (patch)
treeaf572025a09652e8db583c7088a50a6e6aeed87b /sys/arch/armv7
parentdd980d2dac218f17e413fa0f31a7809af4598414 (diff)
Move -Wno-address-of-packed-member to the clang block as well and sync
armv7 and i386 with amd64. ok guenther@
Diffstat (limited to 'sys/arch/armv7')
-rw-r--r--sys/arch/armv7/conf/Makefile.armv74
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armv7/conf/Makefile.armv7 b/sys/arch/armv7/conf/Makefile.armv7
index fe0564e4a8a..f6155dc49d9 100644
--- a/sys/arch/armv7/conf/Makefile.armv7
+++ b/sys/arch/armv7/conf/Makefile.armv7
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.armv7,v 1.40 2018/02/10 06:52:47 patrick Exp $
+# $OpenBSD: Makefile.armv7,v 1.41 2018/09/12 04:34:59 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -25,7 +25,6 @@ INCLUDES= -nostdinc -I$S -I. -I$S/arch
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D__${_mach}__ -MD -MP
CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \
-Wno-uninitialized -Wno-pointer-sign \
- -Wno-address-of-packed-member -Wno-constant-conversion \
-Wframe-larger-than=2047
CMACHFLAGS= -msoft-float
@@ -44,6 +43,7 @@ SORTR= cat
.endif
.if ${COMPILER_VERSION:Mclang}
NO_INTEGR_AS= -no-integrated-as
+CWARNFLAGS+= -Wno-address-of-packed-member -Wno-constant-conversion
.endif
DEBUG?= -g