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/6608e471a4c8
branches:  trunk
changeset: 1018418:6608e471a4c8
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 2c6f2f38c45e -r 6608e471a4c8 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