diff options
author | Denis 'Gnutoo' Carikli <GNUtoo@no-log.org> | 2009-04-27 17:47:41 +0200 |
---|---|---|
committer | Denis 'Gnutoo' Carikli <GNUtoo@no-log.org> | 2009-04-27 17:47:41 +0200 |
commit | 691fd364dc741a8df339a1c3f74d941589ebaa99 (patch) | |
tree | 17aca55ad50553f58defacb24c377cd8777cf966 /recipes/gcc/gcc-4.4.0/fortran-cross-compile-hack.patch | |
parent | 413cc98aa563c9e6104d1104d5b24987ab9d12f8 (diff) | |
parent | eee57a831f63162a5c40c7ed53805f8d78a058bf (diff) |
Merge branch 'org.openembedded.dev' of git://git.openembedded.net/openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/gcc/gcc-4.4.0/fortran-cross-compile-hack.patch')
-rw-r--r-- | recipes/gcc/gcc-4.4.0/fortran-cross-compile-hack.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/gcc/gcc-4.4.0/fortran-cross-compile-hack.patch b/recipes/gcc/gcc-4.4.0/fortran-cross-compile-hack.patch new file mode 100644 index 0000000000..b3d38ad983 --- /dev/null +++ b/recipes/gcc/gcc-4.4.0/fortran-cross-compile-hack.patch @@ -0,0 +1,30 @@ +* Fortran would have searched for arm-angstrom-gnueabi-gfortran but would have used + used gfortan. For gcc_4.2.2.bb we want to use the gfortran compiler from our cross + directory. + +diff --git a/libgfortran/configure b/libgfortran/configure +index f7d86fb..d0966ec 100755 +--- a/libgfortran/configure ++++ b/libgfortran/configure +@@ -4475,6 +4475,6 @@ exec 5>>./config.log + + # We need gfortran to compile parts of the library + #AC_PROG_FC(gfortran) +-FC="$GFORTRAN" ++#FC="$GFORTRAN" + ac_ext=${FC_SRCEXT-f} + ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' +\ No newline at end of file +diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac +index 4661306..9f83e55 100644 +--- a/libgfortran/configure.ac ++++ b/libgfortran/configure.ac +@@ -140,7 +140,7 @@ AC_SUBST(enable_static) + + # We need gfortran to compile parts of the library + #AC_PROG_FC(gfortran) +-FC="$GFORTRAN" ++#FC="$GFORTRAN" + AC_PROG_FC(gfortran) + + # extra LD Flags which are required for targets |