summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/gcc-cross_3.3.2.oe1
-rw-r--r--gcc/gcc-initial-cross_3.3.2.oe5
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/gcc-cross_3.3.2.oe b/gcc/gcc-cross_3.3.2.oe
index 96014176d0..f5534168cf 100644
--- a/gcc/gcc-cross_3.3.2.oe
+++ b/gcc/gcc-cross_3.3.2.oe
@@ -27,6 +27,7 @@ do_configure () {
export RANLIB="${TARGET_SYS}-ranlib"
export LD="${TARGET_SYS}-ld"
export NM="${TARGET_SYS}-nm"
+ rm -f ${CROSS_DIR}/lib/gcc-lib/${TARGET_SYS}/3.3.2/libgcc_eh.a
oe_runconf
}
diff --git a/gcc/gcc-initial-cross_3.3.2.oe b/gcc/gcc-initial-cross_3.3.2.oe
index d687401007..25f040d624 100644
--- a/gcc/gcc-initial-cross_3.3.2.oe
+++ b/gcc/gcc-initial-cross_3.3.2.oe
@@ -13,3 +13,8 @@ EXTRA_OECONF := --with-local-prefix=${CROSS_DIR}/local \
--disable-threads \
--enable-multilib \
--program-prefix=${TARGET_SYS}-
+
+do_stage_prepend () {
+ mkdir -p ${CROSS_DIR}/lib/gcc-lib/${TARGET_SYS}/3.3.2
+ ln -sf libgcc.a ${CROSS_DIR}/lib/gcc-lib/${TARGET_SYS}/3.3.2/libgcc_eh.a
+}