summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.2.1/cache-amnesia.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-07-25 09:38:17 +0000
committerKoen Kooi <koen@openembedded.org>2007-07-25 09:38:17 +0000
commit13c7e0fe360929acfa735a3fd2311fc7c3e525fb (patch)
tree29afba9430409b3a07a3eaa7ce8fe56f45323a4f /packages/gcc/gcc-4.2.1/cache-amnesia.patch
parent18f6eeb628dac02298fbb2d26152b93a3ab6f4a1 (diff)
gcc: 4.2.0 has a bug, so replace it with 4.2.1
* one minor uclibc patch needs to get refreshed, but we can nick that from buildroot in a few days
Diffstat (limited to 'packages/gcc/gcc-4.2.1/cache-amnesia.patch')
-rw-r--r--packages/gcc/gcc-4.2.1/cache-amnesia.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.2.1/cache-amnesia.patch b/packages/gcc/gcc-4.2.1/cache-amnesia.patch
new file mode 100644
index 0000000000..ef7cd111c5
--- /dev/null
+++ b/packages/gcc/gcc-4.2.1/cache-amnesia.patch
@@ -0,0 +1,13 @@
+diff --git a/gcc/configure b/gcc/configure
+index 44620ab..6e1830c 100755
+--- a/gcc/configure
++++ b/gcc/configure
+@@ -12272,7 +12272,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}"