Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/fstyp Ignore address of packed-member for clang too



details:   https://anonhg.NetBSD.org/src/rev/8830ccda32d5
branches:  trunk
changeset: 959159:8830ccda32d5
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Feb 02 21:31:11 2021 +0000

description:
Ignore address of packed-member for clang too

diffstat:

 usr.sbin/fstyp/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1e094fb8dc84 -r 8830ccda32d5 usr.sbin/fstyp/Makefile
--- a/usr.sbin/fstyp/Makefile   Tue Feb 02 21:26:51 2021 +0000
+++ b/usr.sbin/fstyp/Makefile   Tue Feb 02 21:31:11 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2020/09/06 07:20:31 mrg Exp $
+#      $NetBSD: Makefile,v 1.11 2021/02/02 21:31:11 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -29,7 +29,7 @@
 LDADD+=        -lnvpair -lzfs
 .endif
 
-CWARNFLAGS.clang+=     -Wno-unknown-pragmas
+CWARNFLAGS.clang+=     -Wno-unknown-pragmas -Wno-error=address-of-packed-member
 CWARNFLAGS.gcc+=        ${GCC_NO_ADDR_OF_PACKED_MEMBER}
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index