diff options
author | Jeremy Laine <jeremy.laine@m4x.org> | 2008-04-22 21:21:37 +0000 |
---|---|---|
committer | Jeremy Laine <jeremy.laine@m4x.org> | 2008-04-22 21:21:37 +0000 |
commit | e0040261047b9106aa38b5a8988a794d43521a51 (patch) | |
tree | 4fcdb7d63a7ec95d485690fe60a09255ffae1e67 /packages/gcc/gcc-configure-cross.inc | |
parent | 01104c369934b4da8a6696f2e3b864da846bd070 (diff) |
gcc-configure-cross.inc: cleanup libstdc++.la for no-fpu builds too
* fixes QA issues seen on powerpc/soft-float machines, for instance
libasprintf.la referring to the build directory
Diffstat (limited to 'packages/gcc/gcc-configure-cross.inc')
-rw-r--r-- | packages/gcc/gcc-configure-cross.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/gcc/gcc-configure-cross.inc b/packages/gcc/gcc-configure-cross.inc index 9fc3b77fea..333cb8f9bf 100644 --- a/packages/gcc/gcc-configure-cross.inc +++ b/packages/gcc/gcc-configure-cross.inc @@ -49,7 +49,9 @@ 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 } |