diff --git a/OsmAnd/jni/Application.mk b/OsmAnd/jni/Application.mk index 69fb3bcfc2..c7f9fecf7e 100755 --- a/OsmAnd/jni/Application.mk +++ b/OsmAnd/jni/Application.mk @@ -11,14 +11,15 @@ APP_PLATFORM := android-14 # NDK_TOOLCHAIN_VERSION := 4.8 NDK_TOOLCHAIN_VERSION := clang -if defined ARMV7_ONLY -APP_ABI := armeabi-v7a -elif defined ARMV64_ONLY -APP_ABI := arm64-v8a -elif defined X86_ONLY -APP_ABI := x86 -else APP_ABI := x86 armeabi-v7a arm64-v8a +ifdef ARMV7_ONLY + APP_ABI := armeabi-v7a +endif +ifdef ARMV64_ONLY + APP_ABI := arm64-v8a +endif +ifdef X86_ONLY + APP_ABI := x86 endif # APP_ABI := armeabi-v7a