]> git.cameronkatri.com Git - bsdgames-darwin.git/commitdiff
apply some -Wno-error and/or -fno-strict-aliasing.
authormrg <mrg@NetBSD.org>
Wed, 22 Jun 2011 02:49:41 +0000 (02:49 +0000)
committermrg <mrg@NetBSD.org>
Wed, 22 Jun 2011 02:49:41 +0000 (02:49 +0000)
all of this should be looked at closer, but some of them are not
very trivial.

hack/Makefile

index be6c78a1e2be198bcfc418577ec1c9602b45fd00..febefa231666e8cf8611f57b443799dbb893d187 100644 (file)
@@ -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