Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/usr.sbin/dtrace Disable the extra-args w...



details:   https://anonhg.NetBSD.org/src/rev/c6aadf52bbb3
branches:  trunk
changeset: 792676:c6aadf52bbb3
user:      riz <riz%NetBSD.org@localhost>
date:      Sun Jan 12 17:48:25 2014 +0000

description:
Disable the extra-args warning for printf formats in dtrace.c

diffstat:

 external/cddl/osnet/usr.sbin/dtrace/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 03cc6464028a -r c6aadf52bbb3 external/cddl/osnet/usr.sbin/dtrace/Makefile
--- a/external/cddl/osnet/usr.sbin/dtrace/Makefile      Sun Jan 12 15:26:28 2014 +0000
+++ b/external/cddl/osnet/usr.sbin/dtrace/Makefile      Sun Jan 12 17:48:25 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2010/02/22 12:21:27 tron Exp $
+#      $NetBSD: Makefile,v 1.5 2014/01/12 17:48:25 riz Exp $
 
 # $FreeBSD: src/cddl/usr.sbin/dtrace/Makefile,v 1.1.4.1 2009/08/03 08:13:06 kensmith Exp $
 
@@ -6,6 +6,7 @@
 .include       "../../Makefile.inc"
 
 PROG=          dtrace
+MAN=           dtrace.1
 
 BINDIR?=       /usr/sbin
 
@@ -28,6 +29,7 @@
 #YFLAGS+=      -d
 
 COPTS.dtrace.c += -Wno-stack-protector
+COPTS.dtrace.c += -Wno-stack-protector -Wno-format-extra-args
 
 LDFLAGS+=      -pthread
 
@@ -39,4 +41,5 @@
 
 LDADD+=                -ly -ll -lelf -lz
 
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index