diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-31 11:15:37 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-31 11:15:37 +0000 |
commit | 1c77306bcd352c474fe14568bc90e1a492472d57 (patch) | |
tree | 18373bb89f4bb485319abc89fd4280a6ee1f1357 /meta/packages/gcc | |
parent | c1c8083bfbea76b1a5e6de2c8d7cdef2eecc5497 (diff) | |
download | poky-1c77306bcd352c474fe14568bc90e1a492472d57.tar.gz |
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
Diffstat (limited to 'meta/packages/gcc')
-rw-r--r-- | meta/packages/gcc/gcc-4.1.2/cache-amnesia.patch | 13 | ||||
-rw-r--r-- | meta/packages/gcc/gcc_4.1.2.bb | 1 |
2 files changed, 14 insertions, 0 deletions
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 @@ | |||
1 | diff --git a/gcc/configure b/gcc/configure | ||
2 | index 44620ab..6e1830c 100755 | ||
3 | --- a/gcc/configure | ||
4 | +++ b/gcc/configure | ||
5 | @@ -12272,7 +12272,7 @@ else | ||
6 | esac | ||
7 | saved_CFLAGS="${CFLAGS}" | ||
8 | CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \ | ||
9 | - ${realsrcdir}/configure \ | ||
10 | + CONFIG_SITE= ${realsrcdir}/configure --cache-file=./other.cache \ | ||
11 | --enable-languages=${enable_languages-all} \ | ||
12 | --target=$target_alias --host=$build_alias --build=$build_alias | ||
13 | CFLAGS="${saved_CFLAGS}" | ||
diff --git a/meta/packages/gcc/gcc_4.1.2.bb b/meta/packages/gcc/gcc_4.1.2.bb index 417909eb1b..6df5f242c9 100644 --- a/meta/packages/gcc/gcc_4.1.2.bb +++ b/meta/packages/gcc/gcc_4.1.2.bb | |||
@@ -29,6 +29,7 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.1.2/gcc-4.1.2.tar.bz2 \ | |||
29 | file://zecke-xgcc-cpp.patch;patch=1 \ | 29 | file://zecke-xgcc-cpp.patch;patch=1 \ |
30 | file://unbreak-armv4t.patch;patch=1 \ | 30 | file://unbreak-armv4t.patch;patch=1 \ |
31 | file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \ | 31 | file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \ |
32 | file://cache-amnesia.patch;patch=1 \ | ||
32 | " | 33 | " |
33 | 34 | ||
34 | SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " | 35 | SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " |