summaryrefslogtreecommitdiff
path: root/packages/gcc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-04-24 12:55:50 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-24 12:55:50 +0000
commita625a8ec7fbcfe1f07db49b898918cd9267e7a9b (patch)
tree6c472062b5fc910e95e99ab540d9ef933c47677d /packages/gcc
parent8976d52059d279621083343652ef2c23cae23da2 (diff)
gcc-package: apply patch form #851 to 'fix' building of gcc-4.x
Diffstat (limited to 'packages/gcc')
-rw-r--r--packages/gcc/gcc-package.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/gcc/gcc-package.inc b/packages/gcc/gcc-package.inc
index b31a209b34..4dcc72e879 100644
--- a/packages/gcc/gcc-package.inc
+++ b/packages/gcc/gcc-package.inc
@@ -67,7 +67,7 @@ do_install () {
rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
# Hack around specs file assumptions
- sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs
+ sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs &>/dev/null || true
# Move libgcc_s into /lib
mkdir -p ${D}${base_libdir}
@@ -79,7 +79,8 @@ do_install () {
${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/libgcc_s.so
# We don't need libtool libraries
- rm ${D}${libdir}/libg2c.la
+ rm ${D}${libdir}/libg2c.la &>/dev/null || true
+
# Cleanup manpages..
rm -r ${D}${mandir}/man7