diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2018-09-12 04:35:00 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2018-09-12 04:35:00 +0000 |
commit | e55f253f4f87913ac139b207d8d23303fe86a63a (patch) | |
tree | af572025a09652e8db583c7088a50a6e6aeed87b /sys/arch/amd64 | |
parent | dd980d2dac218f17e413fa0f31a7809af4598414 (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/amd64')
-rw-r--r-- | sys/arch/amd64/conf/Makefile.amd64 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64 index 852a3fa50dc..e7a3f45ca58 100644 --- a/sys/arch/amd64/conf/Makefile.amd64 +++ b/sys/arch/amd64/conf/Makefile.amd64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.amd64,v 1.103 2018/09/11 15:52:00 guenther Exp $ +# $OpenBSD: Makefile.amd64,v 1.104 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${.OBJDIR} -I$S/arch CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -MD -MP CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \ -Wno-uninitialized -Wno-pointer-sign \ - -Wno-address-of-packed-member \ -Wframe-larger-than=2047 CMACHFLAGS= -mcmodel=kernel -mno-red-zone -mno-sse2 -mno-sse -mno-3dnow \ @@ -45,7 +44,7 @@ CMACHFLAGS+= -mretpoline .endif .if ${COMPILER_VERSION:Mclang} NO_INTEGR_AS= -no-integrated-as -CWARNFLAGS+= -Wno-constant-conversion +CWARNFLAGS+= -Wno-address-of-packed-member -Wno-constant-conversion .endif DEBUG?= -g |