summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-03-18 14:29:59 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-24 12:33:36 +0000
commitb6b9f7ae638a0cc04aa7237ff30c0920581d6154 (patch)
treecb83aff8c52ae0b7d20666deca67b882e7b1643b /meta/recipes-devtools
parent54d46cb6935556773b84496a64def8442ec83a7c (diff)
downloadpoky-b6b9f7ae638a0cc04aa7237ff30c0920581d6154.tar.gz
gcc-runtime_4.5.1.bb: Fix ICE in gcc-runtime with -feliminate-dwarf2-dups
GCC 4.5 ends up in an ICE when compiling libstdc++ pre compiled header so we eliminate -feliminate-dwarf2-dups for gcc-runtime (From OE-Core rev: e0eeb10144db74c0671acd684059e8a6f82a572f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
index 9eb658b12c..9d4e158fb5 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
@@ -1,4 +1,4 @@
1PR = "r4" 1PR = "r5"
2 2
3require gcc-${PV}.inc 3require gcc-${PV}.inc
4require gcc-configure-runtime.inc 4require gcc-configure-runtime.inc
@@ -9,3 +9,8 @@ SRC_URI_append = "file://fortran-cross-compile-hack.patch"
9ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}" 9ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
10 10
11EXTRA_OECONF += "--disable-libunwind-exceptions" 11EXTRA_OECONF += "--disable-libunwind-exceptions"
12
13# gcc 4.5 ends up in ICE when using -feliminate-dwarf2-dups in libstdc++
14# compiling pre compiled headers so we remove this option when compiling
15# to workaround it
16CXXFLAGS := "${@oe_filter_out('-feliminate-dwarf2-dups', '${CXXFLAGS}', d)}"