summaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc-4.4.1/cache-amnesia.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-08-06 19:46:45 -0700
committerKhem Raj <raj.khem@gmail.com>2009-08-06 19:46:45 -0700
commit7ccdfeffc5202da60d7da5b7cb99ea655fe89238 (patch)
treebde0790112755934890dedd6e015f01dcfaa66f5 /recipes/gcc/gcc-4.4.1/cache-amnesia.patch
parenteaf9eb0fbc98ae1a044e3bdc6e6d2bd0a51b9d26 (diff)
gcc: Remove gcc 4.1.0 recipes in favour of gcc 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.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/gcc/gcc-4.4.1/cache-amnesia.patch b/recipes/gcc/gcc-4.4.1/cache-amnesia.patch
new file mode 100644
index 0000000000..fb4d1a26d8
--- /dev/null
+++ b/recipes/gcc/gcc-4.4.1/cache-amnesia.patch
@@ -0,0 +1,31 @@
+---
+ gcc/configure | 2 +-
+ gcc/configure.ac | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+Index: gcc-4.3.1/gcc/configure
+===================================================================
+--- 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
+ saved_CFLAGS="${CFLAGS}"
+ CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_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
+===================================================================
+--- 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
+ saved_CFLAGS="${CFLAGS}"
+ CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_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}"