summaryrefslogtreecommitdiff
path: root/emulators/libretro-beetle-psx
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2018-10-02 21:09:28 +0000
committernia <nia@pkgsrc.org>2018-10-02 21:09:28 +0000
commit0e2a9576dfcd4fdf2e6e395a1debe52e3b1f9f37 (patch)
tree07f00ff2660bb15baaa3ef9199678f41d088dbe0 /emulators/libretro-beetle-psx
parent538bf81a3d7d91fd5effaf9f2360f23341f25fc9 (diff)
downloadpkgsrc-0e2a9576dfcd4fdf2e6e395a1debe52e3b1f9f37.tar.gz
emulators/libretro-*: SunOS linker fixes.
libretro makefiles pass flags to the linker that aren't understood by SunOS ld. Add BUILDLINK_TRANSFORMs to remove those flags.
Diffstat (limited to 'emulators/libretro-beetle-psx')
-rw-r--r--emulators/libretro-beetle-psx/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/emulators/libretro-beetle-psx/Makefile b/emulators/libretro-beetle-psx/Makefile
index da279c60fdb..7e183fd32e3 100644
--- a/emulators/libretro-beetle-psx/Makefile
+++ b/emulators/libretro-beetle-psx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2018/09/07 09:44:49 nia Exp $
+# $NetBSD: Makefile,v 1.5 2018/10/02 21:09:28 nia Exp $
DISTNAME= libretro-beetle-psx-20180808
PKGREVISION= 2
@@ -25,6 +25,9 @@ MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
CFLAGS+= -DMSB_FIRST
.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install: