diff --git a/scriptmodules/libretrocores/lr-mupen64plus-next.sh b/scriptmodules/libretrocores/lr-mupen64plus-next.sh index c7283c0bbf..e9edd933ed 100644 --- a/scriptmodules/libretrocores/lr-mupen64plus-next.sh +++ b/scriptmodules/libretrocores/lr-mupen64plus-next.sh @@ -53,6 +53,9 @@ function build_lr-mupen64plus-next() { params+=(FORCE_GLES=1) fi + # force ARCH=armv7 on arm platforms to fix building with 32bit arm userland on aarch64 kernel + isPlatform "arm" && params+=(ARCH=armv7l) + # use a custom core name to avoid core option name clashes with lr-mupen64plus params+=(CORE_NAME=mupen64plus-next) make "${params[@]}" clean