summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-cross_4.2.2.bb
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2008-01-15 22:58:54 +0000
committerHolger Freyther <zecke@selfish.org>2008-01-15 22:58:54 +0000
commit0b07e526611dc0e1867caa3eb6e4372855488026 (patch)
treef44ea0a03c807ac60c4765a91732be8ddab75d87 /packages/gcc/gcc-cross_4.2.2.bb
parent5630386777914cd4a48811f077951c09e4fe18c4 (diff)
packages/gcc/gcc-cross_4.2.2: Attempt to fix the fortran issue
f951 was not executable because libmpfr and libgmp which were build by OpenEmbedded were not found. They resist in the staging lib directory and we do not have the LD_LIBRARY_PATH set. --enable-rpath for gcc was not an option, as we would have difficulties to say which path would be checked (we install to cross and not staging). Attempt to set an rpath when linking to mpfr/gmp. We pass --with-mpfr to the gcc-cross, patch the configure to add an -Wl,-rpath, to gmplibs, this gets set to GMPLIBS, which gets replaced to HOST_GMPLIBS in the Makefile inside the builddir, which will be used when linking the f951 utility.
Diffstat (limited to 'packages/gcc/gcc-cross_4.2.2.bb')
-rw-r--r--packages/gcc/gcc-cross_4.2.2.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/gcc/gcc-cross_4.2.2.bb b/packages/gcc/gcc-cross_4.2.2.bb
index ec169072af..3984147eae 100644
--- a/packages/gcc/gcc-cross_4.2.2.bb
+++ b/packages/gcc/gcc-cross_4.2.2.bb
@@ -15,6 +15,7 @@ require gcc3-build-cross.inc
# cross packaging
require gcc-package-cross.inc
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
+SRC_URI_append = " file://fortran-libs-rpath-to-staging-hack.patch;patch=1 "
# Do not build libssp libmudflap and libgomp
# We might need them for some beefy targets
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \