mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
libgcc: Ensure that gcc configure options are passed to libgcc too
libgcc uses certain options from EXTRA_OECONF as well, curently we are ignoring them, as a result we do not configure libgcc to match cross gcc in some cases e.g. ppc/musl should have used 64bit long doubles but it went for 128-ldbls which is default, works on glibc but not on musl (From OE-Core rev: d774bb2d10f2c05900f87dcc53f073433ca02121) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -33,6 +33,8 @@ def get_gcc_ppc_plt_settings(bb, d):
|
||||
def get_long_double_setting(bb, d):
|
||||
if d.getVar('TRANSLATED_TARGET_ARCH', True) in [ 'powerpc', 'powerpc64' ] and d.getVar('TCLIBC', True) in [ 'uclibc', 'glibc' ]:
|
||||
return "--with-long-double-128"
|
||||
else:
|
||||
return "--without-long-double-128"
|
||||
return ""
|
||||
|
||||
def get_gcc_multiarch_setting(bb, d):
|
||||
|
||||
Reference in New Issue
Block a user