[oe-commits] Khem Raj : gcc-4.4.1: Disable libdecnumber for uclibc target.

git version control git at git.openembedded.org
Fri Aug 28 00:52:20 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2b183dca4427ab476b75a851116ff42dbd000557
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2b183dca4427ab476b75a851116ff42dbd000557

Author: Khem Raj <raj.khem at gmail.com>
Date:   Thu Aug 27 17:45:51 2009 -0700

gcc-4.4.1: Disable libdecnumber for uclibc target.

We do not set FENV in uclibc so as a result we can
not build libdecnumber. We disable it for gcc 4.4.1
uclibc targets.

copysignl is in libm in uclibc so gcc complains about
this function in libgcc. We see if it is uclibc powerpc
softfloat then we add -lm to linker commandline. Not best
but works.

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/gcc/gcc-4.4.1.inc                          |    7 +-
 .../gcc/gcc-4.4.1/gcc-link-libgcc-with-libm.patch  |  259 ++++++++++++++++++++
 recipes/gcc/gcc-cross-intermediate_4.4.1.bb        |    3 +-
 3 files changed, 267 insertions(+), 2 deletions(-)

Diff:   http://gitweb.openembedded.net/?p=openembedded.git/?a=commitdiff;h=2b183dca4427ab476b75a851116ff42dbd000557




More information about the Openembedded-commits mailing list