gcc-4.4.1: Disable libdecnumber for uclibc target.
authorKhem Raj <raj.khem@gmail.com>
Fri, 28 Aug 2009 00:45:51 +0000 (17:45 -0700)
committerKhem Raj <raj.khem@gmail.com>
Fri, 28 Aug 2009 00:45:51 +0000 (17:45 -0700)
commit2b183dca4427ab476b75a851116ff42dbd000557
tree606420c67fe01d965d65d1e0ea16d30db4ffea3e
parent2bc39e0c7dbc982e90df37d37b29b4989c3e4610
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@gmail.com>
recipes/gcc/gcc-4.4.1.inc
recipes/gcc/gcc-4.4.1/gcc-link-libgcc-with-libm.patch [new file with mode: 0644]
recipes/gcc/gcc-cross-intermediate_4.4.1.bb