Skip to content

Commit 95b8944

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

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ when targetting our builds.
1414

1515
The switch 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)