From 21966958355fac70b907f15f2ed67f50dd5ddd78 Mon Sep 17 00:00:00 2001 From: mrg Date: Sun, 3 Jul 2011 15:29:34 +0000 Subject: apply some -O0 with gcc 4.5 and vax. --- phantasia/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'phantasia') 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 @@ -52,3 +52,7 @@ map: map.c ./map | plot > /dev/tty .include + +.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45 && ${MACHINE_ARCH} == "vax" +COPTS.misc.c+= -O0 +.endif -- cgit v1.2.3-56-ge451