summaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc-4.4.4/cache-amnesia.patch
blob: d5281ea575a2163fe954297752bc8dcd3dfd2b23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
 gcc/configure    |    2 +-
 gcc/configure.ac |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Index: gcc-4.4.1/gcc/configure.ac
===================================================================
--- 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.4.1/gcc/configure
===================================================================
--- 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} \
 		--target=$target_alias --host=$build_alias --build=$build_alias
 	CFLAGS="${saved_CFLAGS}"