Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/lib/liblsan Ignore unused private fields w...



details:   https://anonhg.NetBSD.org/src/rev/0439da8750fd
branches:  trunk
changeset: 932766:0439da8750fd
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri May 15 14:29:53 2020 +0000

description:
Ignore unused private fields when building with clang

diffstat:

 external/gpl3/gcc/lib/liblsan/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 7187adfacb45 -r 0439da8750fd external/gpl3/gcc/lib/liblsan/Makefile
--- a/external/gpl3/gcc/lib/liblsan/Makefile    Fri May 15 14:29:29 2020 +0000
+++ b/external/gpl3/gcc/lib/liblsan/Makefile    Fri May 15 14:29:53 2020 +0000
@@ -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 @@
 SRCS+= ${LSAN_SRCS}
 LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt
 
+CWARNFLAGS.clang+=     -Wno-error=unused-private-field
+
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index