Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | From 4fc35a2bb7666a7de35568eb5d47f0ce6acebe62 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 29 Mar 2013 09:20:01 +0400 |
| 4 | Subject: [PATCH 17/47] fortran cross-compile hack. |
| 5 | |
| 6 | * Fortran would have searched for arm-angstrom-gnueabi-gfortran but would have used |
| 7 | used gfortan. For gcc_4.2.2.bb we want to use the gfortran compiler from our cross |
| 8 | directory. |
| 9 | |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | |
| 12 | Upstream-Status: Inappropriate [embedded specific] |
| 13 | --- |
| 14 | libgfortran/configure | 2 +- |
| 15 | libgfortran/configure.ac | 2 +- |
| 16 | 2 files changed, 2 insertions(+), 2 deletions(-) |
| 17 | |
| 18 | diff --git a/libgfortran/configure b/libgfortran/configure |
| 19 | index 81238fcb79c..7ded7abd456 100755 |
| 20 | --- a/libgfortran/configure |
| 21 | +++ b/libgfortran/configure |
| 22 | @@ -12792,7 +12792,7 @@ esac |
| 23 | |
| 24 | # We need gfortran to compile parts of the library |
| 25 | #AC_PROG_FC(gfortran) |
| 26 | -FC="$GFORTRAN" |
| 27 | +#FC="$GFORTRAN" |
| 28 | ac_ext=${ac_fc_srcext-f} |
| 29 | ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 30 | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 31 | diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac |
| 32 | index 37b12d2998f..63a4166ef62 100644 |
| 33 | --- a/libgfortran/configure.ac |
| 34 | +++ b/libgfortran/configure.ac |
| 35 | @@ -243,7 +243,7 @@ AC_SUBST(enable_static) |
| 36 | |
| 37 | # We need gfortran to compile parts of the library |
| 38 | #AC_PROG_FC(gfortran) |
| 39 | -FC="$GFORTRAN" |
| 40 | +#FC="$GFORTRAN" |
| 41 | AC_PROG_FC(gfortran) |
| 42 | |
| 43 | # extra LD Flags which are required for targets |
| 44 | -- |
| 45 | 2.12.2 |
| 46 | |