summaryrefslogtreecommitdiffstats
path: root/hack
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2011-06-22 02:49:41 +0000
committermrg <mrg@NetBSD.org>2011-06-22 02:49:41 +0000
commit33dca4c652b90efaded20188a09b1f06c38f1e17 (patch)
treede89f552fcafe4cfecbad2566fd75507289fcc3b /hack
parent99df729634e832cb8b9ea08ac14591532c9a51bd (diff)
downloadbsdgames-darwin-33dca4c652b90efaded20188a09b1f06c38f1e17.tar.gz
bsdgames-darwin-33dca4c652b90efaded20188a09b1f06c38f1e17.tar.zst
bsdgames-darwin-33dca4c652b90efaded20188a09b1f06c38f1e17.zip
apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not very trivial.
Diffstat (limited to 'hack')
-rw-r--r--hack/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/hack/Makefile b/hack/Makefile
index be6c78a1..febefa23 100644
--- a/hack/Makefile
+++ b/hack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2010/02/03 15:34:38 roy Exp $
+# $NetBSD: Makefile,v 1.43 2011/06/22 02:49:43 mrg Exp $
# @(#)Makefile 8.2 (Berkeley) 4/27/95
.include <bsd.own.mk>
@@ -57,3 +57,8 @@ clobber:
rm -f ${DESTDIR}/var/games/hackdir/bones*
.include <bsd.prog.mk>
+
+# XXX
+.if ${HAVE_GCC} == 45
+COPTS.hack.vault.c+= -fno-strict-aliasing
+.endif