diff --git a/share/mk/bsd.kmodule.mk b/share/mk/bsd.kmodule.mk index 83ac6b1d6dc9..3402f07cc326 100644 --- a/share/mk/bsd.kmodule.mk +++ b/share/mk/bsd.kmodule.mk @@ -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_INCLUDE_DESCR 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