summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.1.2
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-03-11 20:51:17 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-03-11 20:51:17 +0000
commit3233c70592622e3a27e6db1f4ca8fbafb7b642c2 (patch)
treee2197fd2730c34d5ba0db5a6e570876e6c525582 /packages/gcc/gcc-4.1.2
parentd8b24b6f7f786d8e21711e1e4a32d110d8015827 (diff)
gcc: Fix crossbuild issue on x86_64 hosts (4.1.1/4.1.2)
Diffstat (limited to 'packages/gcc/gcc-4.1.2')
-rw-r--r--packages/gcc/gcc-4.1.2/gcc-ignore-cache.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.1.2/gcc-ignore-cache.patch b/packages/gcc/gcc-4.1.2/gcc-ignore-cache.patch
new file mode 100644
index 0000000000..396b4b2345
--- /dev/null
+++ b/packages/gcc/gcc-4.1.2/gcc-ignore-cache.patch
@@ -0,0 +1,15 @@
+--- /gcc/orig-configure 2007-03-11 21:50:28.000000000 +0200
++++ /gcc/configure 2007-03-11 21:53:27.000000000 +0200
+@@ -12272,9 +12272,11 @@
+ esac
+ saved_CFLAGS="${CFLAGS}"
+ CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
++ CONFIG_SITE=""
+ ${realsrcdir}/configure \
+ --enable-languages=${enable_languages-all} \
+- --target=$target_alias --host=$build_alias --build=$build_alias
++ --target=$target_alias --host=$build_alias --build=$build_alias \
++ --cache-file=./tmp-cache
+ CFLAGS="${saved_CFLAGS}"
+
+ # We just finished tests for the build machine, so rename