diff options
author | Dan Albert <danalbert@google.com> | 2015-02-18 17:37:52 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-02-18 17:37:52 -0800 |
commit | 2c678e6644a0ac7bfdfb8f199ac2cd0d4ea1153f (patch) | |
tree | 65f48180347c969cf7b95eb73958656142bde268 /libc/Android.mk | |
parent | 5890ec3e229cbe115308e103111fec471f2319b7 (diff) | |
download | bionic-2c678e6644a0ac7bfdfb8f199ac2cd0d4ea1153f.zip bionic-2c678e6644a0ac7bfdfb8f199ac2cd0d4ea1153f.tar.gz bionic-2c678e6644a0ac7bfdfb8f199ac2cd0d4ea1153f.tar.bz2 |
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
Diffstat (limited to 'libc/Android.mk')
-rw-r--r-- | libc/Android.mk | 2 |
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 |