diff options
author | Chih-Hung Hsieh <chh@google.com> | 2015-04-21 23:44:58 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-21 23:44:59 +0000 |
commit | a00a9f0b7ed39589a768798de6a584a4baae030b (patch) | |
tree | 80732a5c48eaf573106794d7962818f0824463b7 /libc | |
parent | da3c4f2f0d86b7e249c9b9b6cdf3bc0225b7178e (diff) | |
parent | 6fb8e96e5f6ff2dd3b3aa8eda0a6766d6b3a63f2 (diff) | |
download | bionic-a00a9f0b7ed39589a768798de6a584a4baae030b.zip bionic-a00a9f0b7ed39589a768798de6a584a4baae030b.tar.gz bionic-a00a9f0b7ed39589a768798de6a584a4baae030b.tar.bz2 |
Merge "Allow building libc long double code with clang/llvm."
Diffstat (limited to 'libc')
-rw-r--r-- | libc/Android.mk | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/libc/Android.mk b/libc/Android.mk index 814940c..4a199e7 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -824,12 +824,7 @@ include $(BUILD_STATIC_LIBRARY) include $(CLEAR_VARS) LOCAL_SRC_FILES := $(libc_upstream_openbsd_ndk_src_files) -ifneq (,$(filter $(TARGET_ARCH),x86 x86_64)) - # Clang has wrong long double size or LDBL_MANT_DIG, http://b/17163651. - LOCAL_CLANG := false -else - LOCAL_CLANG := $(use_clang) -endif +LOCAL_CLANG := $(use_clang) LOCAL_CFLAGS := \ $(libc_common_cflags) \ @@ -867,12 +862,7 @@ include $(BUILD_STATIC_LIBRARY) include $(CLEAR_VARS) LOCAL_SRC_FILES := $(libc_upstream_openbsd_src_files) -ifneq (,$(filter $(TARGET_ARCH),x86 x86_64)) - # Clang has wrong long double size or LDBL_MANT_DIG, http://b/17163651. - LOCAL_CLANG := false -else - LOCAL_CLANG := $(use_clang) -endif +LOCAL_CLANG := $(use_clang) LOCAL_CFLAGS := \ $(libc_common_cflags) \ @@ -912,12 +902,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES_32 := $(libc_upstream_openbsd_gdtoa_src_files_32) LOCAL_SRC_FILES_64 := $(libc_upstream_openbsd_gdtoa_src_files_64) -ifneq (,$(filter $(TARGET_ARCH),x86 x86_64)) - # Clang has wrong long double size or LDBL_MANT_DIG, http://b/17163651. - LOCAL_CLANG := false -else - LOCAL_CLANG := $(use_clang) -endif +LOCAL_CLANG := $(use_clang) LOCAL_CFLAGS := \ $(libc_common_cflags) \ |