From 65c5c322d804e9e8bdfe25972f1417a499f768aa Mon Sep 17 00:00:00 2001 From: Roman Inflianskas Date: Fri, 8 Jul 2016 14:24:08 +0300 Subject: [PATCH] Use NDK_TOOLCHAIN_VERSION 4.9 (gcc-4.9) if gcc-4.8 not found --- OsmAnd/jni/Application.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/OsmAnd/jni/Application.mk b/OsmAnd/jni/Application.mk index bb9ef25fa8..882f95ba14 100755 --- a/OsmAnd/jni/Application.mk +++ b/OsmAnd/jni/Application.mk @@ -6,7 +6,11 @@ APP_SHORT_COMMANDS := true APP_PLATFORM := android-9 ifeq ($(wildcard $(ANDROID_NDK)/toolchains/*-4.7),) - NDK_TOOLCHAIN_VERSION := 4.8 + ifeq ($(wildcard $(ANDROID_NDK)/toolchains/*-4.8),) + NDK_TOOLCHAIN_VERSION := 4.9 + else + NDK_TOOLCHAIN_VERSION := 4.8 + endif else NDK_TOOLCHAIN_VERSION := 4.7 endif