summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hack/Makefile5
-rw-r--r--hunt/hunt/Makefile4
-rw-r--r--rogue/Makefile4
-rw-r--r--tetris/Makefile4
4 files changed, 13 insertions, 4 deletions
diff --git a/hack/Makefile b/hack/Makefile
index 66794662..97a9a5b0 100644
--- a/hack/Makefile
+++ b/hack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2011/08/24 17:39:32 plunky Exp $
+# $NetBSD: Makefile,v 1.46 2019/10/13 07:28:09 mrg Exp $
# @(#)Makefile 8.2 (Berkeley) 4/27/95
.include <bsd.own.mk>
@@ -54,4 +54,7 @@ clobber:
${_MKMSG_REMOVE} "${DESTDIR}/var/games/hackdir/bones*"
rm -f ${DESTDIR}/var/games/hackdir/bones*
+COPTS.hack.objnam.c+= ${GCC_NO_STRINGOP_TRUNCATION} ${GCC_NO_STRINGOP_OVERFLOW}
+COPTS.hack.pager.c+= ${GCC_NO_STRINGOP_TRUNCATION}
+
.include <bsd.prog.mk>
diff --git a/hunt/hunt/Makefile b/hunt/hunt/Makefile
index 602b31fd..e7584aa1 100644
--- a/hunt/hunt/Makefile
+++ b/hunt/hunt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2014/03/30 02:26:09 dholland Exp $
+# $NetBSD: Makefile,v 1.10 2019/10/13 07:28:09 mrg Exp $
PROG= hunt
SRCS= connect.c hunt.c otto.c playit.c server.c
@@ -9,4 +9,6 @@ HIDEGAME=hidegame
CPPFLAGS+=-I${.CURDIR}/../include
+COPTS.hunt.c+= ${GCC_NO_STRINGOP_TRUNCATION}
+
.include <bsd.prog.mk>
diff --git a/rogue/Makefile b/rogue/Makefile
index 800b192f..e46f5173 100644
--- a/rogue/Makefile
+++ b/rogue/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2018/06/11 14:18:16 kamil Exp $
+# $NetBSD: Makefile,v 1.21 2019/10/13 07:28:09 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= rogue
@@ -14,5 +14,7 @@ MAN= rogue.6
SUBDIR.roff+=USD.doc
+COPTS.score.c+= ${GCC_NO_FORMAT_TRUNCATION}
+
.include <bsd.prog.mk>
.include <bsd.subdir.mk>
diff --git a/tetris/Makefile b/tetris/Makefile
index 25a3639a..c0ccc604 100644
--- a/tetris/Makefile
+++ b/tetris/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2010/02/03 15:34:39 roy Exp $
+# $NetBSD: Makefile,v 1.8 2019/10/13 07:28:10 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= tetris
@@ -9,4 +9,6 @@ LDADD= -lterminfo
HIDEGAME=hidegame
SETGIDGAME=yes
+COPTS.tetris.c+= ${GCC_NO_FORMAT_TRUNCATION}
+
.include <bsd.prog.mk>