From 02e111c5e14eabdd5c5951cf974adf2bbe3b3b91 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 5 Oct 2019 03:35:11 +0300 Subject: [PATCH] waifulib: xcompile: fix clang detection --- scripts/waifulib/xcompile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/waifulib/xcompile.py b/scripts/waifulib/xcompile.py index c8e6852a..4579ae6f 100644 --- a/scripts/waifulib/xcompile.py +++ b/scripts/waifulib/xcompile.py @@ -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':