summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.1.2/cache-amnesia.patch
diff options
context:
space:
mode:
authorJustin Patrin <papercrane@gmail.com>2007-06-01 06:56:18 +0000
committerJustin Patrin <papercrane@gmail.com>2007-06-01 06:56:18 +0000
commit2a6a9de6d749394b2584e3ed9fbf7155bad16057 (patch)
tree7c4fb0b59f00ae7edc5a504b991d4ff0dd9c9639 /packages/gcc/gcc-4.1.2/cache-amnesia.patch
parentffc3fe8a8f1a5de133366a7df62afac2f59dd4a2 (diff)
parent47e64ac12cf87f33e2b2a7b5d77689915d98c374 (diff)
merge of '48538c8eb890138522fdaa67c07c26e8dccd5419'
and '73c801b307019899c3255b427e2bb7cb896f8375'
Diffstat (limited to 'packages/gcc/gcc-4.1.2/cache-amnesia.patch')
-rw-r--r--packages/gcc/gcc-4.1.2/cache-amnesia.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.1.2/cache-amnesia.patch b/packages/gcc/gcc-4.1.2/cache-amnesia.patch
new file mode 100644
index 0000000000..ef7cd111c5
--- /dev/null
+++ b/packages/gcc/gcc-4.1.2/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}"