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/440fd070738a
branches: trunk
changeset: 378454:440fd070738a
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 55c06082e0b0 -r 440fd070738a 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 @@ beforedepend: dt_errtags.c dt_names.c
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