Use gcc to build and test x86_64 long double code.

Clang/llvm x86_64 configuration of long double is still
incompatible with gcc.
https://llvm.org/bugs/show_bug.cgi?id=23897

BUG: 21899249
Change-Id: I47fd6d0ce2daa84ae0035e7885a4d90e4c3056f7
This commit is contained in:
Chih-Hung Hsieh
2015-06-23 14:18:14 -07:00
committed by Chih-hung Hsieh
parent a8993c994e
commit e79d06b0e8
3 changed files with 20 additions and 2 deletions

View File

@@ -580,6 +580,13 @@ libc_common_cflags += -DTARGET_USES_LOGD
endif
use_clang := $(USE_CLANG_PLATFORM_BUILD)
# Clang/llvm has incompatible long double (fp128) for x86_64.
# https://llvm.org/bugs/show_bug.cgi?id=23897
ifeq ($(TARGET_ARCH),x86_64)
use_clang := false
endif
ifeq ($(use_clang),)
use_clang := false
endif