diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-03-04 16:33:10 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-03-04 16:33:10 +0000 |
commit | 4c117c12857ff176faee157b49250e0a12895de7 (patch) | |
tree | 92839f106628019c1edafdf88a2e98fcaadcc1b8 /meta/packages/gcc/gcc-4.2.2/fortran-static-linking.patch | |
parent | e14e1e23c42f61c40b3686c49907ea16fa4004a6 (diff) | |
download | openembedded-core-4c117c12857ff176faee157b49250e0a12895de7.tar.gz openembedded-core-4c117c12857ff176faee157b49250e0a12895de7.tar.bz2 openembedded-core-4c117c12857ff176faee157b49250e0a12895de7.tar.xz openembedded-core-4c117c12857ff176faee157b49250e0a12895de7.zip |
gcc: added 4.2.2 from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3902 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc/gcc-4.2.2/fortran-static-linking.patch')
-rw-r--r-- | meta/packages/gcc/gcc-4.2.2/fortran-static-linking.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.2.2/fortran-static-linking.patch b/meta/packages/gcc/gcc-4.2.2/fortran-static-linking.patch new file mode 100644 index 000000000..3dd6321dc --- /dev/null +++ b/meta/packages/gcc/gcc-4.2.2/fortran-static-linking.patch @@ -0,0 +1,48 @@ +f951 (fortran) links to MPFR and GMP of our staging area but when executing +the command the libs can not be found. Use rpath like all the other apps in +our staging bin/ directory. + +Patch the configure to avoid the regeneration... + +Index: gcc-4.2.2/configure +=================================================================== +--- gcc-4.2.2.orig/configure 2008-01-15 23:23:41.000000000 +0100 ++++ gcc-4.2.2/configure 2008-01-15 23:25:20.000000000 +0100 +@@ -2278,14 +2278,14 @@ + + + if test "x$with_mpfr" != x; then +- gmplibs="-L$with_mpfr/lib $gmplibs" ++ gmplibs="-static -L$with_mpfr/lib $gmplibs" + gmpinc="-I$with_mpfr/include" + fi + if test "x$with_mpfr_include" != x; then + gmpinc="-I$with_mpfr_include" + fi + if test "x$with_mpfr_lib" != x; then +- gmplibs="-L$with_mpfr_lib $gmplibs" ++ gmplibs="-static -L$with_mpfr_lib $gmplibs" + fi + + # Specify a location for gmp +Index: gcc-4.2.2/configure.in +=================================================================== +--- gcc-4.2.2.orig/configure.in 2008-01-15 23:23:41.000000000 +0100 ++++ gcc-4.2.2/configure.in 2008-01-15 23:24:36.000000000 +0100 +@@ -1066,14 +1066,14 @@ + AC_ARG_WITH(mpfr_lib, [ --with-mpfr-lib=PATH Specify the directory for the installed MPFR library]) + + if test "x$with_mpfr" != x; then +- gmplibs="-L$with_mpfr/lib $gmplibs" ++ gmplibs="-static -L$with_mpfr/lib $gmplibs" + gmpinc="-I$with_mpfr/include" + fi + if test "x$with_mpfr_include" != x; then + gmpinc="-I$with_mpfr_include" + fi + if test "x$with_mpfr_lib" != x; then +- gmplibs="-L$with_mpfr_lib $gmplibs" ++ gmplibs="-static -L$with_mpfr_lib $gmplibs" + fi + + # Specify a location for gmp |