summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/xmame/Makefile4
-rw-r--r--emulators/xmess/Makefile6
2 files changed, 5 insertions, 5 deletions
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