Skip to content

Commit bfb14b4

Browse files
committed
Link with -Wl,--pic-veneer in libretro PlayStation Vita builds
1 parent 70c5b3d commit bfb14b4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/autobuild.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,12 @@ jobs:
10951095
- name: Build frontend
10961096
run: |
10971097
cd ~
1098-
git clone https://github.com/libretro/RetroArch retroarch --depth 1 -b $(curl -s https://api.github.com/repos/libretro/RetroArch/releases/latest | jq -r '.tag_name')
1098+
tag_name=$(curl -s https://api.github.com/repos/libretro/RetroArch/releases/latest | jq -r '.tag_name')
1099+
git clone https://github.com/libretro/RetroArch retroarch --depth 1 -b $tag_name
1100+
if [ $tag_name = 'v1.20.0' ]
1101+
then
1102+
sed -i 's/-Wl,-q/-Wl,-q,--pic-veneer/g' retroarch/Makefile.vita
1103+
fi
10991104
mv mkxp-z_libretro.a retroarch/libretro_vita.a
11001105
cd retroarch
11011106
CLICOLOR_FORCE=1 make -f Makefile.vita LIBRETRO=mkxp-z

0 commit comments

Comments
 (0)