Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/lib/libdtrace XXX: ignore warning about ...



details:   https://anonhg.NetBSD.org/src/rev/68440590a66d
branches:  trunk
changeset: 982450:68440590a66d
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Apr 13 09:20:55 2021 +0000

description:
XXX: ignore warning about overlapping buffers for sprintf().

diffstat:

 external/cddl/osnet/lib/libdtrace/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r f8fd3f3feaf6 -r 68440590a66d external/cddl/osnet/lib/libdtrace/Makefile
--- a/external/cddl/osnet/lib/libdtrace/Makefile        Tue Apr 13 08:57:39 2021 +0000
+++ b/external/cddl/osnet/lib/libdtrace/Makefile        Tue Apr 13 09:20:55 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.29 2021/03/29 05:18:02 simonb Exp $
+#      $NetBSD: Makefile,v 1.30 2021/04/13 09:20:55 mrg Exp $
 
 # $FreeBSD: head/cddl/lib/libdtrace/Makefile 314654 2017-03-04 11:30:04Z ngie $
 
@@ -145,4 +145,6 @@
 
 LIBDPLIBS=     proc    ${NETBSDSRCDIR}/external/bsd/libproc/lib
 
+COPTS.dt_link.c+=      ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -Wno-restrict :}
+
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index