waifulib: xcompile: fix clang detection

This commit is contained in:
Alibek Omarov 2019-10-05 03:35:11 +03:00
parent 73516eea4c
commit 02e111c5e1
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class Android:
else:
self.ndk_rev = ANDROID_NDK_SUPPORTED[0]
if 'clang' in self.toolchain:
if 'clang' in self.toolchain or self.ndk_rev > ANDROID_NDK_GCC_MAX:
self.clang = True
if self.arch == 'armeabi-v7a-hard':