summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-11-13 16:15:54 +0000
committernia <nia@pkgsrc.org>2020-11-13 16:15:54 +0000
commitabb3b8610d1d5c0ad2987be5bede5e2cacf221f8 (patch)
tree32fbfdbd988df23dc7696e18a59a705d5bffd3f1 /emulators
parent0a91debbd6891edb933d9c5b5d60485958795d62 (diff)
downloadpkgsrc-abb3b8610d1d5c0ad2987be5bede5e2cacf221f8.tar.gz
libretro-parallel-n64: Needs 64-bit atomic ops on powerpc
Diffstat (limited to 'emulators')
-rw-r--r--emulators/libretro-parallel-n64/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/emulators/libretro-parallel-n64/Makefile b/emulators/libretro-parallel-n64/Makefile
index 3e0d2d4f8f2..58b807808bf 100644
--- a/emulators/libretro-parallel-n64/Makefile
+++ b/emulators/libretro-parallel-n64/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/05/31 16:03:04 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/11/13 16:15:54 nia Exp $
DISTNAME= libretro-parallel-n64-20200528
CATEGORIES= emulators
@@ -36,6 +36,10 @@ MAKE_FLAGS+= WITH_DYNAREC=
CFLAGS+= -DNO_ASM
.endif
+.if ${MACHINE_ARCH} == "powerpc"
+.include "../../devel/libatomic/buildlink3.mk"
+.endif
+
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=./libretro/link.T
.include "options.mk"