summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2011-08-16 10:35:03 +0000
committerchristos <christos@NetBSD.org>2011-08-16 10:35:03 +0000
commit35f9146e91b9f85d7571dd33fe326fe5290eaa89 (patch)
tree8949a848729e474a887bb171333bee02cb74f0f0 /usr.bin
parente406f909a4dbdeffc7588fd9addf6c274ec2f5e0 (diff)
document non-literal format strings
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/id/Makefile4
-rw-r--r--usr.bin/jot/Makefile4
-rw-r--r--usr.bin/lam/Makefile4
-rw-r--r--usr.bin/printf/Makefile4
4 files changed, 12 insertions, 4 deletions
diff --git a/usr.bin/id/Makefile b/usr.bin/id/Makefile
index 3bf20845238..ce0d24dc5eb 100644
--- a/usr.bin/id/Makefile
+++ b/usr.bin/id/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2009/04/14 22:15:21 lukem Exp $
+# $NetBSD: Makefile,v 1.13 2011/08/16 10:37:21 christos Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= id
@@ -6,4 +6,6 @@ MAN= id.1 groups.1 whoami.1
LINKS= ${BINDIR}/id ${BINDIR}/groups
LINKS+= ${BINDIR}/id ${BINDIR}/whoami
+COPTS.id.c += -Wno-format-nonliteral
+
.include <bsd.prog.mk>
diff --git a/usr.bin/jot/Makefile b/usr.bin/jot/Makefile
index aad626cf02d..2c574975a31 100644
--- a/usr.bin/jot/Makefile
+++ b/usr.bin/jot/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.5 2006/10/08 17:52:28 peter Exp $
+# $NetBSD: Makefile,v 1.6 2011/08/16 10:37:21 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= jot
DPADD= ${LIBMATH}
LDADD= -lm
+COPTS.jot.c += -Wno-format-nonliteral
+
.include <bsd.prog.mk>
diff --git a/usr.bin/lam/Makefile b/usr.bin/lam/Makefile
index 542be2305be..88e77b20687 100644
--- a/usr.bin/lam/Makefile
+++ b/usr.bin/lam/Makefile
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2006/10/08 17:52:29 peter Exp $
+# $NetBSD: Makefile,v 1.5 2011/08/16 10:37:21 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= lam
+COPTS.lam.c += -Wno-format-nonliteral
+
.include <bsd.prog.mk>
diff --git a/usr.bin/printf/Makefile b/usr.bin/printf/Makefile
index 6b7b31e02e2..0a8cba83613 100644
--- a/usr.bin/printf/Makefile
+++ b/usr.bin/printf/Makefile
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2009/04/14 22:15:25 lukem Exp $
+# $NetBSD: Makefile,v 1.11 2011/08/16 10:37:21 christos Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= printf
+COPTS.printf.c = -Wno-format-nonliteral
+
.include <bsd.prog.mk>