From 2cebd89f2b9f6133f40fb79ad7fa1be6b8107778 Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Tue, 12 Nov 2002 00:25:54 +0000 Subject: reduce optimization level on sparc to allow this to build --- emulators/xmame/Makefile | 4 ++-- emulators/xmess/Makefile | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'emulators') diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile index 655a1cffb8d..1971adc99a6 100644 --- a/emulators/xmame/Makefile +++ b/emulators/xmame/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.78 2002/09/21 12:53:48 jlam Exp $ +# $NetBSD: Makefile,v 1.79 2002/11/12 00:25:54 dmcmahill Exp $ # DISTNAME= xmame-0.60.1 @@ -24,7 +24,7 @@ UNLIMIT_RESOURCES= datasize .include "../../mk/bsd.prefs.mk" -.if (${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "arm") +.if (${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "sparc") . if (${CFLAGS:M-O2} == "-O2") CFLAGS:= ${CFLAGS:S/-O2/-O0/} . endif diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile index d4e09f27b6d..4088bee90d5 100644 --- a/emulators/xmess/Makefile +++ b/emulators/xmess/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2002/09/21 13:12:26 jlam Exp $ +# $NetBSD: Makefile,v 1.25 2002/11/12 00:29:57 dmcmahill Exp $ # DISTNAME= xmame-0.56.2 @@ -24,8 +24,8 @@ UNLIMIT_RESOURCES= datasize .include "../../mk/bsd.prefs.mk" -# XXX On arm(32), the src/unix/video_drivers/x11_window.c causes problems -.if (${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "arm") +# XXX On arm(32)/sparc, the src/unix/video_drivers/x11_window.c causes problems +.if (${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "sparc") . if (${CFLAGS:M-O2} == "-O2") CFLAGS:= ${CFLAGS:S/-O2/-O0/} . endif -- cgit v1.2.3