Skip to content

Commit 682c929

Browse files
committed
ppsspp - Fix linking on rpi1 / armv6
PPSSPP CMakeLists.txt adds -latomic for android targets, but this is also needed on armv6 on RaspberryPi OS Buster. This commit sets the variable ATOMIC_LIB to "atomic" for videocore / armv6 so that -latomic is added.
1 parent c39ad05 commit 682c929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scriptmodules/emulators/ppsspp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function build_ppsspp() {
128128
local params=()
129129
if isPlatform "videocore"; then
130130
if isPlatform "armv6"; then
131-
params+=(-DCMAKE_TOOLCHAIN_FILE=cmake/Toolchains/raspberry.armv6.cmake -DFORCED_CPU=armv6)
131+
params+=(-DCMAKE_TOOLCHAIN_FILE=cmake/Toolchains/raspberry.armv6.cmake -DFORCED_CPU=armv6 -DATOMIC_LIB=atomic)
132132
else
133133
params+=(-DCMAKE_TOOLCHAIN_FILE=cmake/Toolchains/raspberry.armv7.cmake)
134134
fi

0 commit comments

Comments
 (0)