From 597eca0bde1fc33dbf4a02d1ef43aaaa3c4cc9a8 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 29 Jan 2004 02:06:44 +0000 Subject: Merge openembedded@openembedded.bkbits.net:packages into direwolf.itg.ti.com:/home/kergoth/coding/projects/user/oe-metadata/packages 2004/01/28 20:06:18-06:00 ti.com!kergoth Correct bindir and sbindir for usbutils. 2004/01/28 20:06:10-06:00 ti.com!kergoth Correct binutils config opts for glibc tc build, and add libgcc_eh workaround. BKrev: 40186ab4dmKQkVY2opxcGSF6mdN8Pw --- gcc/gcc-cross_3.3.2.oe | 1 + gcc/gcc-initial-cross_3.3.2.oe | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'gcc') 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 +} -- cgit v1.2.3