Use NDK_TOOLCHAIN_VERSION 4.9 (gcc-4.9) if gcc-4.8 not found
This commit is contained in:
parent
1eb4e70d5f
commit
65c5c322d8
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue