Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk bsd.kmodule.mk: Use -Wno-attributes like conf/Makef...
details: https://anonhg.NetBSD.org/src/rev/a7bd30716126
branches: trunk
changeset: 368531:a7bd30716126
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Jul 17 13:38:06 2022 +0000
description:
bsd.kmodule.mk: Use -Wno-attributes like conf/Makefie.kern.inc.
diffstat:
share/mk/bsd.kmodule.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 0bda026e8b90 -r a7bd30716126 share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk Sun Jul 17 13:10:54 2022 +0000
+++ b/share/mk/bsd.kmodule.mk Sun Jul 17 13:38:06 2022 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index