summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-common.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-08-30 22:23:14 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-03 09:55:50 +0100
commita4b6d8b7eb9b93855b160c31c452a7b50dfbded0 (patch)
tree900823ade591eea67fd323d2e17ed7413f9a4768 /meta/recipes-devtools/gcc/gcc-common.inc
parent3a207a2a5c2f149f33846ac70a1478003b56121b (diff)
downloadpoky-a4b6d8b7eb9b93855b160c31c452a7b50dfbded0.tar.gz
gcc: Fix ldbl-128 support for musl
Let the patch trigger based on target triplet instead of passing via configure, this lets gcc compile for 64bit otherwise it ends up with libgcc build errors error: unable to emulate 'TF' (From OE-Core rev: 2259bf5366a9ff654dfaf15baa5df2d943383ce6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-common.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-common.inc7
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc
index 96334e54b4..89273a7745 100644
--- a/meta/recipes-devtools/gcc/gcc-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-common.inc
@@ -41,13 +41,6 @@ def get_gcc_ppc_plt_settings(bb, d):
41 return "--enable-secureplt" 41 return "--enable-secureplt"
42 return "" 42 return ""
43 43
44def get_long_double_setting(bb, d):
45 if d.getVar('TRANSLATED_TARGET_ARCH') in [ 'powerpc', 'powerpc64' ] and d.getVar('TCLIBC') in [ 'glibc' ]:
46 return "--with-long-double-128"
47 else:
48 return "--without-long-double-128 libgcc_cv_powerpc_float128=no"
49 return ""
50
51def get_gcc_multiarch_setting(bb, d): 44def get_gcc_multiarch_setting(bb, d):
52 target_arch = d.getVar('TRANSLATED_TARGET_ARCH') 45 target_arch = d.getVar('TRANSLATED_TARGET_ARCH')
53 multiarch_options = { 46 multiarch_options = {