summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libc/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/Android.mk b/libc/Android.mk
index b5e4899..7dc7cbf 100644
--- a/libc/Android.mk
+++ b/libc/Android.mk
@@ -1123,7 +1123,7 @@ include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := libc_ndk
-LOCAL_CLANG := true
+LOCAL_CLANG := $(use_clang)
LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
LOCAL_CONLYFLAGS := $(libc_common_conlyflags)
LOCAL_CFLAGS := $(libc_common_cflags) -fvisibility=hidden -O0