summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-06-28 15:14:52 +0000
committernia <nia@pkgsrc.org>2020-06-28 15:14:52 +0000
commit35efb80390e916332f8e623b4df3aed886d65efc (patch)
tree52773a10574b635cc11a246865a02d2a6f812b57 /emulators
parent658832dc5d22554dfa4990d43b82913f9273e426 (diff)
downloadpkgsrc-35efb80390e916332f8e623b4df3aed886d65efc.tar.gz
libretro-picodrive: Disable sh2drc on unsupported archs
Diffstat (limited to 'emulators')
-rw-r--r--emulators/libretro-picodrive/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/emulators/libretro-picodrive/Makefile b/emulators/libretro-picodrive/Makefile
index 3da71a355ae..f16422f23fc 100644
--- a/emulators/libretro-picodrive/Makefile
+++ b/emulators/libretro-picodrive/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2020/06/02 14:51:03 nia Exp $
+# $NetBSD: Makefile,v 1.11 2020/06/28 15:14:52 nia Exp $
DISTNAME= libretro-picodrive-20200527
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= emulators
GITHUB_PROJECT= picodrive
GITHUB_TAG= b8fb8f285317632f42ecbbd36cf4fe18ea9189f1
@@ -45,6 +45,8 @@ MAKE_FLAGS+= use_drz80=1
MAKE_FLAGS+= use_cz80=0
MAKE_FLAGS+= use_sh2drc=1
MAKE_FLAGS+= use_svpdrc=1
+.elif ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
+MAKE_FLAGS+= use_sh2drc=0
.endif
LIBRETRO_CORE= picodrive