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:

committed by
Chih-hung Hsieh

parent
a8993c994e
commit
e79d06b0e8
@@ -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
|
||||
|
Reference in New Issue
Block a user