summaryrefslogtreecommitdiff
path: root/gcc/gcc_3.4.2.oe
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcc_3.4.2.oe')
-rw-r--r--gcc/gcc_3.4.2.oe5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/gcc_3.4.2.oe b/gcc/gcc_3.4.2.oe
index dc15ba89c8..9c994bbd72 100644
--- a/gcc/gcc_3.4.2.oe
+++ b/gcc/gcc_3.4.2.oe
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r1"
inherit autotools
@@ -148,6 +148,9 @@ do_install () {
rm -r ${D}/${libdir}/gcc/${TARGET_SYS}/${PV}/install-tools
rm -r ${D}/${libexecdir}/gcc/${TARGET_SYS}/${PV}/install-tools
+ # Hack around specs file assumptions
+ sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}/${libdir}/gcc/${TARGET_SYS}/${PV}/specs
+
# Move libgcc_s into /lib
mkdir -p ${D}/lib
mv ${D}/${libdir}/libgcc_s.so.* ${D}/lib