Module Name: src Committed By: riastradh Date: Sun Jul 17 13:38:06 UTC 2022
Modified Files: src/share/mk: bsd.kmodule.mk Log Message: bsd.kmodule.mk: Use -Wno-attributes like conf/Makefie.kern.inc. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 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.77 src/share/mk/bsd.kmodule.mk:1.78 --- src/share/mk/bsd.kmodule.mk:1.77 Tue Mar 29 22:48:04 2022 +++ src/share/mk/bsd.kmodule.mk Sun Jul 17 13:38:06 2022 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.kmodule.mk,v 1.77 2022/03/29 22:48:04 christos Exp $ +# $NetBSD: bsd.kmodule.mk,v 1.78 2022/07/17 13:38:06 riastradh Exp $ # We are not building this with PIE MKPIE=no @@ -34,7 +34,8 @@ CPPFLAGS+= -D_KERNEL -D_MODULE -DSYSCTL_ CWARNFLAGS.clang+= -Wno-error=constant-conversion # XXX until the kernel is fixed again... -CFLAGS+= -fno-strict-aliasing -Wno-pointer-sign +CFLAGS+= -fno-strict-aliasing +CWARNFLAGS+= -Wno-pointer-sign -Wno-attributes # XXX This is a workaround for platforms that have relative relocations # that, when relocated by the module loader, result in addresses that