Module Name:    src
Committed By:   joerg
Date:           Fri May 15 14:29:53 UTC 2020

Modified Files:
        src/external/gpl3/gcc/lib/liblsan: Makefile

Log Message:
Ignore unused private fields when building with clang


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/lib/liblsan/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/lib/liblsan/Makefile
diff -u src/external/gpl3/gcc/lib/liblsan/Makefile:1.6 src/external/gpl3/gcc/lib/liblsan/Makefile:1.7
--- src/external/gpl3/gcc/lib/liblsan/Makefile:1.6	Mon Oct 28 16:25:05 2019
+++ src/external/gpl3/gcc/lib/liblsan/Makefile	Fri May 15 14:29:53 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2019/10/28 16:25:05 christos Exp $
+# $NetBSD: Makefile,v 1.7 2020/05/15 14:29:53 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -25,4 +25,6 @@ LIB=	lsan
 SRCS+=	${LSAN_SRCS}
 LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt
 
+CWARNFLAGS.clang+=	-Wno-error=unused-private-field
+
 .include <bsd.lib.mk>

Reply via email to