diff options
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 () { | |||
49 | done | 49 | done |
50 | 50 | ||
51 | #fix up libsupc++ and libstdc++ la files | 51 | #fix up libsupc++ and libstdc++ la files |
52 | 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 | 52 | for d in lib lib/nof; do |
53 | 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 | 53 | 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 |
54 | 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 | ||
55 | done | ||
54 | } | 56 | } |
55 | 57 | ||
56 | do_package_write_ipk[depends] += "virtual/libc:do_package" | 58 | do_package_write_ipk[depends] += "virtual/libc:do_package" |