gcc-configure-cross.inc: cleanup libstdc++.la for no-fpu builds too
authorJeremy Laine <jeremy.laine@m4x.org>
Tue, 22 Apr 2008 21:21:37 +0000 (21:21 +0000)
committerJeremy Laine <jeremy.laine@m4x.org>
Tue, 22 Apr 2008 21:21:37 +0000 (21:21 +0000)
* fixes QA issues seen on powerpc/soft-float machines, for instance
  libasprintf.la referring to the build directory

packages/gcc/gcc-configure-cross.inc
packages/gcc/gcc-cross_4.1.1.bb
packages/gcc/gcc-cross_4.1.2.bb
packages/gcc/gcc-cross_4.2.1.bb
packages/gcc/gcc-cross_4.2.2.bb
packages/gcc/gcc-cross_4.3.0.bb

index 9fc3b77..333cb8f 100644 (file)
@@ -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
 }
 
index c480db7..a40cbc8 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r19"
+PR = "r20"
 
 require gcc-${PV}.inc
 require gcc-cross4.inc
index 070a1e3..43f2173 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r15"
+PR = "r16"
 
 require gcc-${PV}.inc
 require gcc-cross4.inc
index 901c87c..daf4267 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r15"
+PR = "r16"
 
 require gcc-${PV}.inc
 require gcc-cross4.inc
index 72f7283..4149179 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r7"
+PR = "r8"
 
 require gcc-${PV}.inc
 require gcc-cross4.inc
index cac2550..f51e60c 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r3"
+PR = "r4"
 
 require gcc-${PV}.inc
 require gcc-cross4.inc