bsd.kmodule.mk: Use -Wno-attributes like conf/Makefie.kern.inc.
This commit is contained in:
parent
42ce36525c
commit
4ab65cda4f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue