summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.3.3/cache-amnesia.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.3.3/cache-amnesia.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/cache-amnesia.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.3.3/cache-amnesia.patch b/meta/recipes-devtools/gcc/gcc-4.3.3/cache-amnesia.patch
new file mode 100644
index 0000000000..fb4d1a26d8
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.3.3/cache-amnesia.patch
@@ -0,0 +1,31 @@
1---
2 gcc/configure | 2 +-
3 gcc/configure.ac | 2 +-
4 2 files changed, 2 insertions(+), 2 deletions(-)
5
6Index: gcc-4.3.1/gcc/configure
7===================================================================
8--- gcc-4.3.1.orig/gcc/configure 2008-08-20 00:27:57.000000000 -0700
9+++ gcc-4.3.1/gcc/configure 2008-08-20 00:45:11.000000000 -0700
10@@ -12813,7 +12813,7 @@ else
11 esac
12 saved_CFLAGS="${CFLAGS}"
13 CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
14- ${realsrcdir}/configure \
15+ CONFIG_SITE= ${realsrcdir}/configure --cache-file=./other.cache \
16 --enable-languages=${enable_languages-all} \
17 --target=$target_alias --host=$build_alias --build=$build_alias
18 CFLAGS="${saved_CFLAGS}"
19Index: gcc-4.3.1/gcc/configure.ac
20===================================================================
21--- gcc-4.3.1.orig/gcc/configure.ac 2008-08-20 00:27:57.000000000 -0700
22+++ gcc-4.3.1/gcc/configure.ac 2008-08-20 00:44:52.000000000 -0700
23@@ -1480,7 +1480,7 @@ else
24 esac
25 saved_CFLAGS="${CFLAGS}"
26 CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
27- ${realsrcdir}/configure \
28+ CONFIG_SITE= ${realsrcdir}/configure --cache-file=./other.cache \
29 --enable-languages=${enable_languages-all} \
30 --target=$target_alias --host=$build_alias --build=$build_alias
31 CFLAGS="${saved_CFLAGS}"