]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - hack/Makefile
- enlarge buffer to avoid snprintf() truncation
[bsdgames-darwin.git] / hack / Makefile
index febefa231666e8cf8611f57b443799dbb893d187..66794662cf7b499ec24ee8c7d9243eb022c3bf9e 100644 (file)
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.43 2011/06/22 02:49:43 mrg Exp $
+#      $NetBSD: Makefile,v 1.45 2011/08/24 17:39:32 plunky Exp $
 #      @(#)Makefile    8.2 (Berkeley) 4/27/95
 
 .include <bsd.own.mk>
@@ -37,10 +37,8 @@ makedefs: makedefs.lo
 
 hack.h:        hack.onames.h
 
-.if defined(HAVE_PCC)
-COPTS.hack.bones.c+=   -Wno-shadow
-COPTS.hack.do.c+=      -Wno-shadow
-.endif
+COPTS.hack.mon.c+=     -Wno-format-nonliteral
+COPTS.hack.rip.c+=     -Wno-format-nonliteral
 
 .if !exists(${DESTDIR}${FILESDIR}/perm)
 afterinstall: clobber
@@ -57,8 +55,3 @@ 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