summaryrefslogtreecommitdiff
path: root/emulators/xmess
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-05-20 11:08:28 +0000
committercjep <cjep@pkgsrc.org>2002-05-20 11:08:28 +0000
commit0f91f2a92389308b7a2e6a141d40008da8b16fa0 (patch)
tree37341339ca4a5d3abfdcbc46588d505e630dbf9c /emulators/xmess
parent093cb9544cf9721be856f97c5c728cdfaa310233 (diff)
downloadpkgsrc-0f91f2a92389308b7a2e6a141d40008da8b16fa0.tar.gz
Turn off optimisation on arm32 so that this package builds.
Diffstat (limited to 'emulators/xmess')
-rw-r--r--emulators/xmess/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile
index 008c68f9fc3..e4197f2dd9e 100644
--- a/emulators/xmess/Makefile
+++ b/emulators/xmess/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2002/04/22 02:49:27 jlam Exp $
+# $NetBSD: Makefile,v 1.21 2002/05/20 11:08:28 cjep Exp $
#
DISTNAME= xmame-0.56.2
@@ -23,6 +23,11 @@ UNLIMIT_RESOURCES= datasize
.include "../../mk/bsd.prefs.mk"
+# XXX On arm32, the src/unix/video_drivers/x11_window.c causes problems
+.if (${MACHINE_ARCH} == "arm32" && ${CFLAGS} == "-O2")
+CFLAGS="-O0"
+.endif
+
ROMPATH= ${PREFIX}/share/${TARGET}
SPOOLDIR= /var/games/${TARGET}