From 7c89ee09bda4c464110d4f0ea252562311ee8cea Mon Sep 17 00:00:00 2001 From: vshcherb Date: Fri, 24 Aug 2018 18:11:05 +0200 Subject: [PATCH] Update Application.mk --- OsmAnd/jni/Application.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/OsmAnd/jni/Application.mk b/OsmAnd/jni/Application.mk index 7a414269e8..69fb3bcfc2 100755 --- a/OsmAnd/jni/Application.mk +++ b/OsmAnd/jni/Application.mk @@ -11,7 +11,16 @@ 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 +endif + # APP_ABI := armeabi-v7a ifndef OSMAND_DEBUG_NATIVE # Force release compilation in release optimizations, even if application is debuggable by manifest