diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6/cache-amnesia.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6/cache-amnesia.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6/cache-amnesia.patch b/meta/recipes-devtools/gcc/gcc-4.6/cache-amnesia.patch new file mode 100644 index 0000000000..72ead31181 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.6/cache-amnesia.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | --- | ||
4 | gcc/configure | 2 +- | ||
5 | gcc/configure.ac | 2 +- | ||
6 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
7 | |||
8 | Index: gcc-4.6.0/gcc/configure | ||
9 | =================================================================== | ||
10 | --- gcc-4.6.0.orig/gcc/configure | ||
11 | +++ gcc-4.6.0/gcc/configure | ||
12 | @@ -10898,7 +10898,7 @@ else | ||
13 | saved_CFLAGS="${CFLAGS}" | ||
14 | CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \ | ||
15 | LDFLAGS="${LDFLAGS_FOR_BUILD}" \ | ||
16 | - ${realsrcdir}/configure \ | ||
17 | + CONFIG_SITE= ${realsrcdir}/configure --cache-file=./other.cache \ | ||
18 | --enable-languages=${enable_languages-all} \ | ||
19 | --target=$target_alias --host=$build_alias --build=$build_alias | ||
20 | CFLAGS="${saved_CFLAGS}" | ||
21 | Index: gcc-4.6.0/gcc/configure.ac | ||
22 | =================================================================== | ||
23 | --- gcc-4.6.0.orig/gcc/configure.ac | ||
24 | +++ gcc-4.6.0/gcc/configure.ac | ||
25 | @@ -1435,7 +1435,7 @@ else | ||
26 | saved_CFLAGS="${CFLAGS}" | ||
27 | CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \ | ||
28 | LDFLAGS="${LDFLAGS_FOR_BUILD}" \ | ||
29 | - ${realsrcdir}/configure \ | ||
30 | + CONFIG_SITE= ${realsrcdir}/configure --cache-file=./other.cache \ | ||
31 | --enable-languages=${enable_languages-all} \ | ||
32 | --target=$target_alias --host=$build_alias --build=$build_alias | ||
33 | CFLAGS="${saved_CFLAGS}" | ||