diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-05-06 00:04:55 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-09 22:26:44 +0100 |
commit | 9ba0bf8b6af6626bd3b6d1558959a83b5c14d501 (patch) | |
tree | 246997127b81791bed0a639feea1f5acea13c9fe /meta/recipes-devtools/gcc/gcc-5.1/0018-fortran-cross-compile-hack.patch | |
parent | a28371be8bbdf29eb2f9c4fc68ff26d9d24631ac (diff) | |
download | poky-9ba0bf8b6af6626bd3b6d1558959a83b5c14d501.tar.gz |
gcc: Add 5 recipes
Drop backports obviously
additionally drop local patches around
parallel compilation since it got reworked upstream
To select set
GCCVERSION = "5.1%"
SDKGCCVERSION = "5.1%"
in local.conf
Change-Id: Icdfa61017a617244128f361b022e7c8f1f9e0610
(From OE-Core rev: 4bc4acc67e5d7b3f27afadeda5710f9ba5f627d2)
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-5.1/0018-fortran-cross-compile-hack.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.1/0018-fortran-cross-compile-hack.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0018-fortran-cross-compile-hack.patch b/meta/recipes-devtools/gcc/gcc-5.1/0018-fortran-cross-compile-hack.patch new file mode 100644 index 0000000000..da73392cae --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-5.1/0018-fortran-cross-compile-hack.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | From 95506b44c9ef4725fef52fa864d3d3fcf931e443 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 18/35] 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 e1592f7..76d19b3 100755 | ||
20 | --- a/libgfortran/configure | ||
21 | +++ b/libgfortran/configure | ||
22 | @@ -12747,7 +12747,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 35a8b39..6a0d8a9 100644 | ||
33 | --- a/libgfortran/configure.ac | ||
34 | +++ b/libgfortran/configure.ac | ||
35 | @@ -240,7 +240,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.1.4 | ||
46 | |||