From 1c77306bcd352c474fe14568bc90e1a492472d57 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 31 Oct 2007 11:15:37 +0000 Subject: gcc: Make gcc build on amd64 by having it forget target configure cache when configuring for build machine. (from OE) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3050 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/gcc/gcc-4.1.2/cache-amnesia.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta/packages/gcc/gcc-4.1.2/cache-amnesia.patch (limited to 'meta/packages/gcc/gcc-4.1.2') diff --git a/meta/packages/gcc/gcc-4.1.2/cache-amnesia.patch b/meta/packages/gcc/gcc-4.1.2/cache-amnesia.patch new file mode 100644 index 0000000000..ef7cd111c5 --- /dev/null +++ b/meta/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}" -- cgit v1.2.3