From 826d9b38af92ce9f032657fe238f6a597a129fc3 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 28 May 2008 12:44:00 +0000 Subject: gcc 4.2.4: another point release in the 4.2 series --- .../gcc/gcc-4.2.4/fortran-cross-compile-hack.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 packages/gcc/gcc-4.2.4/fortran-cross-compile-hack.patch (limited to 'packages/gcc/gcc-4.2.4/fortran-cross-compile-hack.patch') diff --git a/packages/gcc/gcc-4.2.4/fortran-cross-compile-hack.patch b/packages/gcc/gcc-4.2.4/fortran-cross-compile-hack.patch new file mode 100644 index 0000000000..b3d38ad983 --- /dev/null +++ b/packages/gcc/gcc-4.2.4/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 -- cgit v1.2.3