Skip to content

Commit

Permalink
Perform test with -mfpu=neon-fp-armv8 for cross-compile
Browse files Browse the repository at this point in the history
  • Loading branch information
misl6 committed Nov 7, 2024
1 parent de6ad4e commit 1ad2298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build_linux_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ pushd $MANYLINUX__SDL2_MIXER__FOLDER

# if platform is rpi or cross-compiling for rpi, we need to set additional flags
if [ "$IS_RPI" = "1" ] || [ "$KIVY_CROSS_PLATFORM" = "rpi" ]; then
sdl2_mixer_builds_args+=(-DCMAKE_C_FLAGS="-mcpu=native -mfpu=auto")
sdl2_mixer_builds_args+=(-DCMAKE_C_FLAGS="-mfpu=neon-fp-armv8")
fi

cmake -B build "${sdl2_mixer_builds_args[@]}"
Expand Down

0 comments on commit 1ad2298

Please sign in to comment.