Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Handle the no-addr-of-packed-member only for the fi...
details: https://anonhg.NetBSD.org/src/rev/770f0e296734
branches: trunk
changeset: 1015268:770f0e296734
user: christos <christos%NetBSD.org@localhost>
date: Sun Oct 18 19:57:44 2020 +0000
description:
Handle the no-addr-of-packed-member only for the files that need it, not
globally.
diffstat:
share/mk/bsd.kmodule.mk | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r e6f37a2a362b -r 770f0e296734 share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk Sun Oct 18 19:56:41 2020 +0000
+++ b/share/mk/bsd.kmodule.mk Sun Oct 18 19:57:44 2020 +0000
@@ -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+= -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
Home |
Main Index |
Thread Index |
Old Index