summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc3-build-cross.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc3-build-cross.inc')
-rw-r--r--meta/packages/gcc/gcc3-build-cross.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc3-build-cross.inc b/meta/packages/gcc/gcc3-build-cross.inc
index 384886c76e..d0469b7be8 100644
--- a/meta/packages/gcc/gcc3-build-cross.inc
+++ b/meta/packages/gcc/gcc3-build-cross.inc
@@ -44,4 +44,8 @@ do_stage_append () {
44 do 44 do
45 rm -rf ${CROSS_DIR}/$d 45 rm -rf ${CROSS_DIR}/$d
46 done 46 done
47
48 #fix up libsupc++ and libstdc++ la files
49 sed -i "s|dependency_libs\s*=\s*.*|dependency_libs = '-L${CROSS_DIR}/${TARGET_SYS}/lib -lgcc_s -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/lib/libsupc++.la
50 sed -i "s|dependency_libs\s*=\s*.*|dependency_libs = '-L${CROSS_DIR}/${TARGET_SYS}/lib -lgcc_s -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/lib/libstdc++.la
47} 51}