aboutsummaryrefslogtreecommitdiffstats
path: root/packages/gcc/gcc_4.1.2.bb
diff options
context:
space:
mode:
authorMichael Krelin <hacker@klever.net>2007-05-30 09:51:59 +0000
committerMichael Krelin <hacker@klever.net>2007-05-30 09:51:59 +0000
commit15fcad01c1b74e413dd6633ac6d2365726e12701 (patch)
treee559fdb8b9ce4417c8d99e2e96b633f41d9ea870 /packages/gcc/gcc_4.1.2.bb
parent157fbe3c50f634c3c06003ea86b9493a19f665c6 (diff)
downloadopenembedded-15fcad01c1b74e413dd6633ac6d2365726e12701.tar.gz
gcc: Make gcc build on amd64 by having it forget target configure cache when configuring for build machine. Closes bug #1951
Diffstat (limited to 'packages/gcc/gcc_4.1.2.bb')
-rw-r--r--packages/gcc/gcc_4.1.2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/gcc/gcc_4.1.2.bb b/packages/gcc/gcc_4.1.2.bb
index 417909eb1b..2557a2694e 100644
--- a/packages/gcc/gcc_4.1.2.bb
+++ b/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 \
file://zecke-xgcc-cpp.patch;patch=1 \
file://unbreak-armv4t.patch;patch=1 \
file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \
+ file://cache-amnesia.patch;patch=1 \
"
SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 "
@@ -45,6 +46,7 @@ JAVA = ""
LANGUAGES = "c,c++${FORTRAN}${JAVA}"
require gcc3-build.inc
+ARCH_FLAGS_FOR_TARGET=-isystem${STAGING_INCDIR}
EXTRA_OECONF += " --disable-libssp "