Disable neon for android armv7a
@@ -6539,6 +6539,9 @@ when ($MAPSMOBI_BUILD_TARGET && $OS_ANDROID) {
when ($ARCH_ARM7) {
CFLAGS+=-mfloat-abi=softfp
+ #Android clang overaligns some float types which causes NEON programs to fail on old Android versions. So we disable NEON.
+ #See https://github.com/android/ndk/issues/640 for more information
+ CFLAGS+=-mfpu=vfpv3-d16
}
elsewhen ($ARCH_ARM64) {
}
