diff --git a/packages/emulators/standalone/simple64-sa/package.mk b/packages/emulators/standalone/simple64-sa/package.mk index 15d00909c..fb196d23f 100644 --- a/packages/emulators/standalone/simple64-sa/package.mk +++ b/packages/emulators/standalone/simple64-sa/package.mk @@ -10,6 +10,14 @@ PKG_DEPENDS_TARGET="toolchain qt5" PKG_LONGDESC="Simple64, a N64 Emulator" PKG_TOOLCHAIN="manual" +pre_configure_target() { + case ${TARGET_ARCH} in + aarch64|arm) + find . -type f -name CMakeLists.txt -exec sed -i 's/x86-64-v3/armv8-a/g' {} \; + ;; + esac +} + make_target() { cd ${PKG_BUILD} ./build.sh