Skip to content

Commit 1b77f36

Browse files
committed
lr-pcsx-rearmed - rework parameters to fix building on armv6
libretro/pcsx_rearmed@4b2392b forces BUILTIN_GPU to neon for all arm platforms, as ARCH_DETECTED gets set to "arm" which is a substring of "arm64". Workaround this in our scriptmodule by setting BUILTIN_GPU=peops on non neon arm platforms (eg. armv6).
1 parent 7baf48b commit 1b77f36

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scriptmodules/libretrocores/lr-pcsx-rearmed.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ function build_lr-pcsx-rearmed() {
3131

3232
if isPlatform "arm"; then
3333
params+=(ARCH=arm DYNAREC=ari64)
34+
if isPlatform "neon"; then
35+
params+=(HAVE_NEON=1 HAVE_NEON_ASM=1 BUILTIN_GPU=neon)
36+
else
37+
params+=(BUILTIN_GPU=peops)
38+
fi
3439
elif isPlatform "aarch64"; then
3540
params+=(ARCH=aarch64 DYNAREC=ari64)
3641
fi
37-
if isPlatform "neon"; then
38-
params+=(HAVE_NEON=1 HAVE_NEON_ASM=1 BUILTIN_GPU=neon)
39-
fi
4042

4143
make -f Makefile.libretro "${params[@]}" clean
4244
make -f Makefile.libretro "${params[@]}"

0 commit comments

Comments
 (0)