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/7fb9e88faee0
branches: trunk
changeset: 1020485:7fb9e88faee0
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 b169a1471523 -r 7fb9e88faee0 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