Module Name: src Committed By: christos Date: Sun Oct 18 19:57:44 UTC 2020
Modified Files: src/share/mk: bsd.kmodule.mk Log Message: Handle the no-addr-of-packed-member only for the files that need it, not globally. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/share/mk/bsd.kmodule.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.kmodule.mk diff -u src/share/mk/bsd.kmodule.mk:1.71 src/share/mk/bsd.kmodule.mk:1.72 --- src/share/mk/bsd.kmodule.mk:1.71 Wed Sep 9 22:34:13 2020 +++ src/share/mk/bsd.kmodule.mk Sun Oct 18 15:57:44 2020 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.kmodule.mk,v 1.71 2020/09/10 02:34:13 rin Exp $ +# $NetBSD: bsd.kmodule.mk,v 1.72 2020/10/18 19:57:44 christos Exp $ # We are not building this with PIE MKPIE=no @@ -31,8 +31,7 @@ CPPFLAGS+= -nostdinc -I. -I${.CURDIR} -i CPPFLAGS+= -isystem ${S}/../common/include CPPFLAGS+= -D_KERNEL -D_MODULE -DSYSCTL_INCLUDE_DESCR -CWARNFLAGS.clang+= -Wno-error=address-of-packed-member -Wno-error=constant-conversion -CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER} +CWARNFLAGS.clang+= -Wno-error=constant-conversion # XXX until the kernel is fixed again... CFLAGS+= -fno-strict-aliasing -Wno-pointer-sign