aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-03-30 14:30:19 -0700
committerKhem Raj <raj.khem@gmail.com>2021-04-28 20:44:22 -0700
commit1432b4231db4cb5fe8fd6b498d992d5f0c9e9bdb (patch)
tree0ef0644bb554e7bbb0ed2d7854e33f370c071d97
parent4fbf422351668f755a14811ac39161c889087e81 (diff)
downloadopenembedded-core-contrib-1432b4231db4cb5fe8fd6b498d992d5f0c9e9bdb.tar.gz
openembedded-core-contrib-1432b4231db4cb5fe8fd6b498d992d5f0c9e9bdb.tar.bz2
openembedded-core-contrib-1432b4231db4cb5fe8fd6b498d992d5f0c9e9bdb.zip
libgcc-initial: Do not build fp128 to decimal ppc functions
These functions depend on glibc headers e.g. stdlib.h/fenv.h/string.h/stdio.h which do not exist when building lbgcc-initial, and these functions are not needed during glibc build so we are fine to disable them introdcued with [1] [1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=781183595acba67a37c66f59a0c1d9b5fee7e248 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/libgcc-initial.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc-initial.inc b/meta/recipes-devtools/gcc/libgcc-initial.inc
index 06bf224f734..f7d80412268 100644
--- a/meta/recipes-devtools/gcc/libgcc-initial.inc
+++ b/meta/recipes-devtools/gcc/libgcc-initial.inc
@@ -51,6 +51,8 @@ do_configure_prepend () {
do_configure_append () {
sed -i -e 's#thread_header = .*#thread_header = gthr-single.h#' ${B}/${BPN}/Makefile
+ sed -i -e '/^libgcc_tm_defines = $/a fp128_dec_funcs =' ${B}/${BPN}/Makefile
+ sed -i -e '/^libgcc_tm_defines = $/a fp128_decstr_funcs =' ${B}/${BPN}/Makefile
}
do_install_append () {