diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-common.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-common.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 4c55542280..497d06ae8b 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc | |||
@@ -25,6 +25,11 @@ def get_gcc_mips_plt_setting(bb, d): | |||
25 | return "--with-mips-plt" | 25 | return "--with-mips-plt" |
26 | return "" | 26 | return "" |
27 | 27 | ||
28 | def get_long_double_setting(bb, d): | ||
29 | if d.getVar('TRANSLATED_TARGET_ARCH', True) in [ 'powerpc', 'powerpc64' ] and d.getVar('TCLIBC', True) in [ 'uclibc', 'eglibc' ]: | ||
30 | return "--with-long-double-128" | ||
31 | return "" | ||
32 | |||
28 | def get_gcc_multiarch_setting(bb, d): | 33 | def get_gcc_multiarch_setting(bb, d): |
29 | target_arch = d.getVar('TRANSLATED_TARGET_ARCH', True) | 34 | target_arch = d.getVar('TRANSLATED_TARGET_ARCH', True) |
30 | multiarch_options = { | 35 | multiarch_options = { |