]> git.cameronkatri.com Git - bsdgames-darwin.git/commitdiff
apply some -O0 with gcc 4.5 and vax.
authormrg <mrg@NetBSD.org>
Sun, 3 Jul 2011 15:29:34 +0000 (15:29 +0000)
committermrg <mrg@NetBSD.org>
Sun, 3 Jul 2011 15:29:34 +0000 (15:29 +0000)
phantasia/Makefile

index d47110a1c380e7479b69a864b3d40d2a2cf11e57..2753cbe46a42224924919974963e1631b03c516a 100644 (file)
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.34 2010/02/06 23:45:25 he Exp $
+#      $NetBSD: Makefile,v 1.35 2011/07/03 15:29:34 mrg Exp $
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
 .include <bsd.own.mk>
@@ -52,3 +52,7 @@ map: map.c
        ./map | plot > /dev/tty
 
 .include <bsd.prog.mk>
+
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45 && ${MACHINE_ARCH} == "vax"
+COPTS.misc.c+= -O0
+.endif