diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-03-19 15:20:56 -0700 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2014-05-05 23:08:17 -0700 |
commit | d4573cb750bfde488682244d30266dfe675bac06 (patch) | |
tree | b4fc3cc055bc83455eb306dc19e1e310bd2a48fc /meta/recipes-devtools/gcc/gcc-4.9/0025-fortran-cross-compile-hack.patch | |
parent | 2f922357287129f7d216393531886ed1f3ce8185 (diff) | |
download | openembedded-core-d4573cb750bfde488682244d30266dfe675bac06.tar.gz openembedded-core-d4573cb750bfde488682244d30266dfe675bac06.tar.bz2 openembedded-core-d4573cb750bfde488682244d30266dfe675bac06.zip |
gcc: Add 4.9 recipes
(From OE-Core rev: f051216ea373f166016b15bbd2a2a6f136430372)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.9/0025-fortran-cross-compile-hack.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.9/0025-fortran-cross-compile-hack.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0025-fortran-cross-compile-hack.patch b/meta/recipes-devtools/gcc/gcc-4.9/0025-fortran-cross-compile-hack.patch new file mode 100644 index 0000000000..0e7914d5c7 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.9/0025-fortran-cross-compile-hack.patch @@ -0,0 +1,46 @@ +From af8a56ea4e17b2909eff2c57704ab43ef24f28d3 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Fri, 29 Mar 2013 09:20:01 +0400 +Subject: [PATCH 25/35] 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 <raj.khem@gmail.com> + +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 8385e96..b8f7a92 100755 +--- a/libgfortran/configure ++++ b/libgfortran/configure +@@ -12704,7 +12704,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 7d97fed..3f9f484 100644 +--- a/libgfortran/configure.ac ++++ b/libgfortran/configure.ac +@@ -227,7 +227,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 +-- +1.7.10.4 + |