libretro-pcsx-rearmed: fix PCSX ReARMed build to match upstream changes

This commit is contained in:
KOPRajs 2020-07-01 12:00:04 +02:00
parent 37eb46b40d
commit b6b4c7d7e0
2 changed files with 13 additions and 12 deletions

View File

@ -21,19 +21,20 @@ make_target() {
if target_has_feature neon; then if target_has_feature neon; then
export HAVE_NEON=1 export HAVE_NEON=1
export BUILTIN_GPU=neon
else else
export HAVE_NEON=0 export HAVE_NEON=0
fi fi
case $TARGET_ARCH in case $TARGET_ARCH in
aarch64) aarch64)
make -f Makefile.libretro platform=aarch64 GIT_VERSION=$PKG_VERSION make -f Makefile.libretro DYNAREC=lightrec platform=aarch64 GIT_VERSION=$PKG_VERSION
;; ;;
arm) arm)
make -f Makefile.libretro USE_DYNAREC=1 GIT_VERSION=$PKG_VERSION make -f Makefile.libretro DYNAREC=ari64 GIT_VERSION=$PKG_VERSION
;; ;;
x86_64) x86_64)
make -f Makefile.libretro GIT_VERSION=$PKG_VERSION make -f Makefile.libretro DYNAREC=lightrec GIT_VERSION=$PKG_VERSION
;; ;;
esac esac
} }

View File

@ -1,17 +1,17 @@
diff -Naur a/Makefile.libretro b/Makefile.libretro diff -Naur a/Makefile.libretro b/Makefile.libretro
--- a/Makefile.libretro 2016-05-05 20:28:57.000000000 -0700 --- a/Makefile.libretro 2020-03-17 06:53:23.000000000 +0100
+++ b/Makefile.libretro 2016-05-10 10:10:33.447118136 -0700 +++ b/Makefile.libretro 2020-06-22 16:00:10.616134362 +0200
@@ -246,6 +246,14 @@ @@ -380,6 +380,14 @@
ARCH = arm ARCH = arm
USE_DYNAREC = 1 DYNAREC = ari64
+# aarch64 +# aarch64
+else ifneq (,$(findstring aarch64,$(platform))) +else ifneq (,$(findstring aarch64,$(platform)))
+ TARGET := $(TARGET_NAME)_libretro.so + TARGET := $(TARGET_NAME)_libretro.so
+ SHARED := -shared -Wl,--no-undefined + SHARED := -shared -Wl,--no-undefined
+ fpic := -fPIC + fpic := -fPIC
+ DRC_CACHE_BASE = 0 + DRC_CACHE_BASE = 0
+ ARCH = aarch64 + ARCH = aarch64
+ +
# Windows # Windows
else else