From 2c678e6644a0ac7bfdfb8f199ac2cd0d4ea1153f Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Wed, 18 Feb 2015 17:37:52 -0800 Subject: [PATCH] Parameterize use of clang in libc_ndk. We still have issues with clang coverage in static libraries, so we need to make sure we follow suit with the rest of libc for now. Bug: 17574078 Change-Id: I2ab58a84b1caa0d8d08415d240c35adec5b1e150 --- libc/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/Android.mk b/libc/Android.mk index b5e489976..7dc7cbf28 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