summaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc-4.4.1/cache-amnesia.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-09-05 19:14:35 -0700
committerKhem Raj <raj.khem@gmail.com>2009-09-05 19:19:54 -0700
commit9300c4759938436bde9b722f46c12b12beebc20d (patch)
tree64ca1db8dd551d10f735723d4766f3dc05c20d55 /recipes/gcc/gcc-4.4.1/cache-amnesia.patch
parent1578d2e0a527f2baa6ccda851fcb51c72ba40fbf (diff)
gcc-4.4.1: Fix canadian cross compilation.
* Forward port cache amnesia patch * Forward port gcc-flags-for-build patch * do_configure needs to be overridden for 4.4.1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/gcc/gcc-4.4.1/cache-amnesia.patch')
-rw-r--r--recipes/gcc/gcc-4.4.1/cache-amnesia.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/recipes/gcc/gcc-4.4.1/cache-amnesia.patch b/recipes/gcc/gcc-4.4.1/cache-amnesia.patch
index fb4d1a26d8..d5281ea575 100644
--- a/recipes/gcc/gcc-4.4.1/cache-amnesia.patch
+++ b/recipes/gcc/gcc-4.4.1/cache-amnesia.patch
@@ -3,27 +3,27 @@
gcc/configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
-Index: gcc-4.3.1/gcc/configure
+Index: gcc-4.4.1/gcc/configure.ac
===================================================================
---- gcc-4.3.1.orig/gcc/configure 2008-08-20 00:27:57.000000000 -0700
-+++ gcc-4.3.1/gcc/configure 2008-08-20 00:45:11.000000000 -0700
-@@ -12813,7 +12813,7 @@ else
- esac
+--- gcc-4.4.1.orig/gcc/configure.ac 2009-03-24 10:46:03.000000000 -0700
++++ gcc-4.4.1/gcc/configure.ac 2009-09-04 19:23:39.751461633 -0700
+@@ -1455,7 +1455,7 @@
saved_CFLAGS="${CFLAGS}"
CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
+ LDFLAGS="${LDFLAGS_FOR_BUILD}" \
- ${realsrcdir}/configure \
+ CONFIG_SITE= ${realsrcdir}/configure --cache-file=./other.cache \
--enable-languages=${enable_languages-all} \
--target=$target_alias --host=$build_alias --build=$build_alias
CFLAGS="${saved_CFLAGS}"
-Index: gcc-4.3.1/gcc/configure.ac
+Index: gcc-4.4.1/gcc/configure
===================================================================
---- gcc-4.3.1.orig/gcc/configure.ac 2008-08-20 00:27:57.000000000 -0700
-+++ gcc-4.3.1/gcc/configure.ac 2008-08-20 00:44:52.000000000 -0700
-@@ -1480,7 +1480,7 @@ else
- esac
+--- gcc-4.4.1.orig/gcc/configure 2009-03-24 10:46:03.000000000 -0700
++++ gcc-4.4.1/gcc/configure 2009-09-04 19:25:37.831459717 -0700
+@@ -13531,7 +13531,7 @@
saved_CFLAGS="${CFLAGS}"
CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
+ LDFLAGS="${LDFLAGS_FOR_BUILD}" \
- ${realsrcdir}/configure \
+ CONFIG_SITE= ${realsrcdir}/configure --cache-file=./other.cache \
--enable-languages=${enable_languages-all} \