summaryrefslogtreecommitdiffstats
path: root/phantasia
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2011-07-03 15:29:34 +0000
committermrg <mrg@NetBSD.org>2011-07-03 15:29:34 +0000
commit21966958355fac70b907f15f2ed67f50dd5ddd78 (patch)
tree47a3ea2b0ec89bfcad583460ae775a516c471ceb /phantasia
parentdd0ac9f95219fa1eafce09b024638b47c1baf353 (diff)
downloadbsdgames-darwin-21966958355fac70b907f15f2ed67f50dd5ddd78.tar.gz
bsdgames-darwin-21966958355fac70b907f15f2ed67f50dd5ddd78.tar.zst
bsdgames-darwin-21966958355fac70b907f15f2ed67f50dd5ddd78.zip
apply some -O0 with gcc 4.5 and vax.
Diffstat (limited to 'phantasia')
-rw-r--r--phantasia/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/phantasia/Makefile b/phantasia/Makefile
index d47110a1..2753cbe4 100644
--- a/phantasia/Makefile
+++ b/phantasia/Makefile
@@ -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