Disable -Wformat-nonliteral here to build.

This commit is contained in:
roy 2016-02-04 17:42:34 +00:00
parent 1e48e626cd
commit dd3d664f77
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2014/03/09 22:01:31 christos Exp $
# $NetBSD: Makefile,v 1.7 2016/02/04 17:42:34 roy Exp $
# $FreeBSD: src/cddl/usr.bin/ctfconvert/Makefile,v 1.1.4.1 2009/08/03 08:13:06 kensmith Exp $
@ -34,5 +34,7 @@ SRCS= alist.c \
traverse.c \
util.c
COPTS.st_parse.c += -Wno-format-nonliteral
COPTS.util.c += -Wno-format-nonliteral
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2016/01/27 18:43:25 christos Exp $
# $NetBSD: Makefile,v 1.9 2016/02/04 17:47:17 roy Exp $
# $FreeBSD: src/cddl/usr.bin/ctfmerge/Makefile,v 1.1.4.1 2009/08/03 08:13:06 kensmith Exp $
@ -29,6 +29,8 @@ SRCS= alist.c \
traverse.c \
util.c
COPTS.util.c += -Wno-format-nonliteral
.if (${HOSTPROG:U} == "")
LDADD+=-lpthread
DPADD+=${LIBPTHREAD}