Use NDK_TOOLCHAIN_VERSION 4.9 (gcc-4.9) if gcc-4.8 not found

This commit is contained in:
Roman Inflianskas 2016-07-08 14:24:08 +03:00
parent 1eb4e70d5f
commit 65c5c322d8

View file

@ -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