Module Name: src
Committed By: joerg
Date: Tue Feb 23 15:05:09 UTC 2021
Modified Files:
src/usr.sbin/ldpd: Makefile
Log Message:
Make use of packed member addreses non-fatal for clang, too
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/ldpd/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/ldpd/Makefile
diff -u src/usr.sbin/ldpd/Makefile:1.6 src/usr.sbin/ldpd/Makefile:1.7
--- src/usr.sbin/ldpd/Makefile:1.6 Wed Feb 3 06:46:27 2021
+++ src/usr.sbin/ldpd/Makefile Tue Feb 23 15:05:08 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2021/02/03 06:46:27 roy Exp $
+# $NetBSD: Makefile,v 1.7 2021/02/23 15:05:08 joerg Exp $
.include <bsd.own.mk>
@@ -26,6 +26,7 @@ LDADD+= -lcrypt
CPPFLAGS+=-DINET6
.endif
+CWARNFLAGS.clang+= -Wno-error=address-of-packed-member
CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER}
.include <bsd.prog.mk>