mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
libretro-genplus: bus error fix for non RPi arm based systems
Fixes a bus error, the makefile already sets this flag for RPi based systems but not for other arm platforms like the AML S905 chips. See https://github.com/ekeeke/Genesis-Plus-GX/issues/158 for further details.
This commit is contained in:
parent
bf09c1f375
commit
c17740e6fb
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user