-# $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>
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
rm -f ${DESTDIR}/var/games/hackdir/bones*
.include <bsd.prog.mk>
-
-# XXX
-.if ${HAVE_GCC} == 45
-COPTS.hack.vault.c+= -fno-strict-aliasing
-.endif