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 no error for string trunca...
details: https://anonhg.NetBSD.org/src/rev/62efca048112
branches: trunk
changeset: 845638:62efca048112
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 09 21:49:50 2019 +0000
description:
no error for string truncation
diffstat:
external/cddl/osnet/lib/libdtrace/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r ea8e800428df -r 62efca048112 external/cddl/osnet/lib/libdtrace/Makefile
--- a/external/cddl/osnet/lib/libdtrace/Makefile Wed Oct 09 21:19:28 2019 +0000
+++ b/external/cddl/osnet/lib/libdtrace/Makefile Wed Oct 09 21:49:50 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2019/02/11 17:49:37 tnn Exp $
+# $NetBSD: Makefile,v 1.22 2019/10/09 21:49:50 christos Exp $
# $FreeBSD: head/cddl/lib/libdtrace/Makefile 314654 2017-03-04 11:30:04Z ngie $
@@ -85,6 +85,10 @@
COPTS.dt_program.c += -Wno-stack-protector
COPTS.dt_provider.c += -Wno-stack-protector
COPTS.dt_subr.c += -Wno-stack-protector
+.if ${ACTIVE_CC} == "gcc"
+COPTS.dt_lex.c += -Wno-error=stringop-truncation
+COPTS.dt_pid.c += -Wno-error=stringop-truncation
+.endif
COPTS.dt_consume.c += -Wno-parentheses
COPTS.dt_consume.c += ${${ACTIVE_CC} == "gcc" :? -Wno-maybe-uninitialized :}
Home |
Main Index |
Thread Index |
Old Index