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 -Wno-format-truncation is ...
details: https://anonhg.NetBSD.org/src/rev/e69fd10bd6de
branches: trunk
changeset: 448853:e69fd10bd6de
user: tnn <tnn%NetBSD.org@localhost>
date: Mon Feb 11 17:49:37 2019 +0000
description:
-Wno-format-truncation is only needed when using GCC
diffstat:
external/cddl/osnet/lib/libdtrace/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ef95286efcf1 -r e69fd10bd6de external/cddl/osnet/lib/libdtrace/Makefile
--- a/external/cddl/osnet/lib/libdtrace/Makefile Mon Feb 11 17:28:52 2019 +0000
+++ b/external/cddl/osnet/lib/libdtrace/Makefile Mon Feb 11 17:49:37 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2019/02/06 04:23:16 christos Exp $
+# $NetBSD: Makefile,v 1.21 2019/02/11 17:49:37 tnn Exp $
# $FreeBSD: head/cddl/lib/libdtrace/Makefile 314654 2017-03-04 11:30:04Z ngie $
@@ -105,7 +105,7 @@
CPPFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/arm
.PATH: ${.CURDIR}/../../dist/lib/libdtrace/arm
.endif
-COPTS.dt_link.c += -Wno-format-truncation
+COPTS.dt_link.c += ${${ACTIVE_CC} == "gcc" :? -Wno-format-truncation :}
LFLAGS+=-l
Home |
Main Index |
Thread Index |
Old Index