From d774bb2d10f2c05900f87dcc53f073433ca02121 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 11 May 2016 10:35:31 -0700 Subject: 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 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/libgcc-common.inc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta/recipes-devtools/gcc/libgcc-common.inc') diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc index dae07e96da..e6d31bc305 100644 --- a/meta/recipes-devtools/gcc/libgcc-common.inc +++ b/meta/recipes-devtools/gcc/libgcc-common.inc @@ -4,6 +4,13 @@ require gcc-shared-source.inc INHIBIT_DEFAULT_DEPS = "1" +EXTRA_OECONF += "\ + ${@get_gcc_mips_plt_setting(bb, d)} \ + ${@get_gcc_ppc_plt_settings(bb, d)} \ + ${@get_long_double_setting(bb, d)} \ + ${@get_gcc_multiarch_setting(bb, d)} \ +" + do_configure () { target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` install -d ${D}${base_libdir} ${D}${libdir} -- cgit 1.2.3-korg