diff options
author | Khem Raj <raj.khem@gmail.com> | 2009-08-27 17:45:51 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2009-08-27 17:45:51 -0700 |
commit | 2b183dca4427ab476b75a851116ff42dbd000557 (patch) | |
tree | 606420c67fe01d965d65d1e0ea16d30db4ffea3e /recipes/gcc/gcc-4.4.1.inc | |
parent | 2bc39e0c7dbc982e90df37d37b29b4989c3e4610 (diff) | |
download | openembedded-2b183dca4427ab476b75a851116ff42dbd000557.tar.gz |
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>
Diffstat (limited to 'recipes/gcc/gcc-4.4.1.inc')
-rw-r--r-- | recipes/gcc/gcc-4.4.1.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes/gcc/gcc-4.4.1.inc b/recipes/gcc/gcc-4.4.1.inc index 2759ab9799..365c20157f 100644 --- a/recipes/gcc/gcc-4.4.1.inc +++ b/recipes/gcc/gcc-4.4.1.inc @@ -7,7 +7,7 @@ LICENSE = "GPLv3" DEPENDS = "mpfr gmp" -INC_PR = "r2" +INC_PR = "r3" FILESPATHPKG .= ":gcc-$PV" @@ -16,6 +16,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ file://100-uclibc-conf.patch;patch=1 \ file://gcc-uclibc-locale-ctype_touplow_t.patch;patch=1 \ file://gcc-disable-linux-unwind-with-libc-inhibit.patch;patch=1 \ + file://gcc-link-libgcc-with-libm.patch;patch=1 \ " # Language Overrides FORTRAN = "" @@ -24,3 +25,7 @@ JAVA = "" EXTRA_OECONF_BASE = " --enable-libssp \ --disable-bootstrap --disable-libgomp \ --disable-libmudflap" + +EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float" +EXTRA_OECONF_append_linux-uclibcgnueabi = " --disable-decimal-float" + |