summaryrefslogtreecommitdiffstats
path: root/hack/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hack/Makefile')
-rw-r--r--hack/Makefile5
1 files changed, 4 insertions, 1 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>