Skip to content

Commit ae416e9

Browse files
committed
CMake/PSVita: disable PIC
(used in FluidLite)
1 parent 4901354 commit ae416e9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

vita/2_build_toolchain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function set_build_flags {
7171
export CXXFLAGS="$CFLAGS"
7272
export CPPFLAGS="-DPSP2"
7373
export CMAKE_SYSTEM_NAME="Generic"
74-
export CMAKE_EXTRA_ARGS="-DCMAKE_SYSTEM_PROCESSOR=arm64"
74+
export CMAKE_EXTRA_ARGS="-DCMAKE_SYSTEM_PROCESSOR=arm64 -DCMAKE_POSITION_INDEPENDENT_CODE=OFF"
7575

7676
make_meson_cross vita > $PLATFORM_PREFIX/meson-cross.txt
7777
}

vita/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ when targetting our builds.
1212

1313
## Developer's notes
1414

15-
The switch supports:
15+
The PSVita supports:
1616
- ✔ ARM NEON intrinsiscs
17+
- ✘ PIC (position independent code)
1718
- ✔ floating point hardware
1819
- ✘ problematic file access (slow, partly unsupported posix stuff)
1920

0 commit comments

Comments
 (0)