diff options
author | Richard Purdie <richard@openedhand.com> | 2008-05-16 09:28:06 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-05-16 09:28:06 +0000 |
commit | 43a99745217b7d20c1bf532f5ac3a774c4460535 (patch) | |
tree | d689f588862bcbc34438f4f7babedb5162f63d8a /meta/packages/gcc/gcc-configure-cross.inc | |
parent | 3c35b00196661077b6f5a6e996c34c9b5d8c244f (diff) | |
download | openembedded-core-43a99745217b7d20c1bf532f5ac3a774c4460535.tar.gz openembedded-core-43a99745217b7d20c1bf532f5ac3a774c4460535.tar.bz2 openembedded-core-43a99745217b7d20c1bf532f5ac3a774c4460535.zip |
gcc: Sync libssp changes from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4486 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc/gcc-configure-cross.inc')
-rw-r--r-- | meta/packages/gcc/gcc-configure-cross.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/packages/gcc/gcc-configure-cross.inc b/meta/packages/gcc/gcc-configure-cross.inc index 13c76f976d..68b8fd1ccf 100644 --- a/meta/packages/gcc/gcc-configure-cross.inc +++ b/meta/packages/gcc/gcc-configure-cross.inc @@ -49,8 +49,10 @@ do_stage_append () { done #fix up libsupc++ and libstdc++ la files - sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-L${CROSS_DIR}/${TARGET_SYS}/lib ${LIBGCCS_VAR} -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/lib/libsupc++.la || true - sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-L${CROSS_DIR}/${TARGET_SYS}/lib ${LIBGCCS_VAR} -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/lib/libstdc++.la || true + for d in lib lib/nof; do + sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-L${CROSS_DIR}/${TARGET_SYS}/$d ${LIBGCCS_VAR} -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/$d/libsupc++.la || true + sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-L${CROSS_DIR}/${TARGET_SYS}/$d ${LIBGCCS_VAR} -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/$d/libstdc++.la || true + done } do_package_write_ipk[depends] += "virtual/libc:do_package" |