summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-04-12 10:53:51 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-04-12 10:53:51 +0000
commit3b60d9aab39e3f2db60fd226d0fc205bedb2c95f (patch)
tree5634e82817cd581a5df5739ebf8dce3665e32188
parentd5b4fc337bea402006b689ebfcda3014ed9da906 (diff)
downloadopenembedded-core-3b60d9aab39e3f2db60fd226d0fc205bedb2c95f.tar.gz
openembedded-core-3b60d9aab39e3f2db60fd226d0fc205bedb2c95f.tar.bz2
openembedded-core-3b60d9aab39e3f2db60fd226d0fc205bedb2c95f.zip
gcc: added gcc-ignore-cache patch from OE bugtracker #1951 to get gcc buildable on amd64
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1486 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/gcc/gcc-4.1.1/gcc-ignore-cache.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.1.1/gcc-ignore-cache.patch b/meta/packages/gcc/gcc-4.1.1/gcc-ignore-cache.patch
new file mode 100644
index 0000000000..396b4b2345
--- /dev/null
+++ b/meta/packages/gcc/gcc-4.1.1/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