From 2c514ada36ffbf70177909f633e9f68811de61e0 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 29 Mar 2013 09:20:01 +0400 Subject: [PATCH 08/39] fortran cross-compile hack. * 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. Signed-off-by: Khem Raj Upstream-Status: Inappropriate [embedded specific] --- libgfortran/configure | 2 +- libgfortran/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libgfortran/configure b/libgfortran/configure index 60867b93d0e..3fc9fca5b7b 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -13071,7 +13071,7 @@ esac # We need gfortran to compile parts of the library #AC_PROG_FC(gfortran) -FC="$GFORTRAN" +#FC="$GFORTRAN" ac_ext=${ac_fc_srcext-f} ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index 7cfce28ab69..6cd515ee1a4 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -250,7 +250,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 -- 2.25.1