summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-4.3.0/fortran-cross-compile-hack.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-04-07 20:32:31 +0000
committerRichard Purdie <richard@openedhand.com>2008-04-07 20:32:31 +0000
commit0b0cf026cf665aa9192842f36fee7a48acbc22f0 (patch)
tree0502f899d975823f7473e86c5b63d0250186c869 /meta/packages/gcc/gcc-4.3.0/fortran-cross-compile-hack.patch
parent1f8b96909c61e8bed1bc2e904ac28d9232f1ab81 (diff)
downloadpoky-0b0cf026cf665aa9192842f36fee7a48acbc22f0.tar.gz
gcc: Add 4.3.0 from OE.dev (not default)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4188 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc/gcc-4.3.0/fortran-cross-compile-hack.patch')
-rw-r--r--meta/packages/gcc/gcc-4.3.0/fortran-cross-compile-hack.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.3.0/fortran-cross-compile-hack.patch b/meta/packages/gcc/gcc-4.3.0/fortran-cross-compile-hack.patch
new file mode 100644
index 0000000000..b3d38ad983
--- /dev/null
+++ b/meta/packages/gcc/gcc-4.3.0/fortran-cross-compile-hack.patch
@@ -0,0 +1,30 @@
1* Fortran would have searched for arm-angstrom-gnueabi-gfortran but would have used
2 used gfortan. For gcc_4.2.2.bb we want to use the gfortran compiler from our cross
3 directory.
4
5diff --git a/libgfortran/configure b/libgfortran/configure
6index f7d86fb..d0966ec 100755
7--- a/libgfortran/configure
8+++ b/libgfortran/configure
9@@ -4475,6 +4475,6 @@ exec 5>>./config.log
10
11 # We need gfortran to compile parts of the library
12 #AC_PROG_FC(gfortran)
13-FC="$GFORTRAN"
14+#FC="$GFORTRAN"
15 ac_ext=${FC_SRCEXT-f}
16 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
17\ No newline at end of file
18diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
19index 4661306..9f83e55 100644
20--- a/libgfortran/configure.ac
21+++ b/libgfortran/configure.ac
22@@ -140,7 +140,7 @@ AC_SUBST(enable_static)
23
24 # We need gfortran to compile parts of the library
25 #AC_PROG_FC(gfortran)
26-FC="$GFORTRAN"
27+#FC="$GFORTRAN"
28 AC_PROG_FC(gfortran)
29
30 # extra LD Flags which are required for targets