Disable the extra-args warning for printf formats in dtrace.c
This commit is contained in:
parent
8c436a9898
commit
b3fba11357
|
@ -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 @@ CFLAGS+= -I${OSNETDIR}/sys \
|
|||
#YFLAGS+= -d
|
||||
|
||||
COPTS.dtrace.c += -Wno-stack-protector
|
||||
COPTS.dtrace.c += -Wno-stack-protector -Wno-format-extra-args
|
||||
|
||||
LDFLAGS+= -pthread
|
||||
|
||||
|
@ -39,4 +41,5 @@ LDFLAGS+= -L${LIBCTF_OBJDIR} -lctf
|
|||
|
||||
LDADD+= -ly -ll -lelf -lz
|
||||
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
Loading…
Reference in New Issue