Merge pull request #3008 from 5schatten/libretro-genplus_arm_fix

libretro-genplus: bus error fix for non RPi arm based systems
This commit is contained in:
CvH 2018-10-02 11:13:21 +02:00 committed by GitHub
commit 8b3e6780e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,11 @@ PKG_LIBPATH="$PKG_LIBNAME"
PKG_LIBVAR="GENPLUS_LIB"
make_target() {
make -f Makefile.libretro
if [ "$ARCH" = "arm" ]; then
CFLAGS="$CFLAGS -DALIGN_LONG"
fi
make -f Makefile.libretro GIT_VERSION=$PKG_VERSION
}
makeinstall_target() {