summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-04-05 18:19:06 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-04-05 18:19:06 +0200
commit3bb7c2e9b57c32ae7c8d4d379f3ffb43a85cf7f3 (patch)
tree8dbfde4b451c770363df2577d2671f4d984088f9
parentf8aaf111155320381a4e3ab60e299a8ad4109177 (diff)
gcc: Don't fail removing missing libraries.
-rw-r--r--core/gcc/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD
index b1a231f57..ea2135b2a 100644
--- a/core/gcc/PKGBUILD
+++ b/core/gcc/PKGBUILD
@@ -229,11 +229,11 @@ package_gcc-fortran()
ln -s gfortran ${pkgdir}/usr/bin/f95
# remove files included in gcc-libs or gcc
- rm ${pkgdir}/usr/lib/lib{gfortran,gcc_s}.so*
- rm ${pkgdir}/usr/lib/libquadmath.{a,so*}
- rm ${pkgdir}/usr/lib/gcc/$CHOST/${pkgver}/{*.o,libgc*}
- rm ${pkgdir}/usr/share/info/libquadmath.info
- rm -r ${pkgdir}/usr/lib/gcc/$CHOST/${pkgver}/include
+ rm -f ${pkgdir}/usr/lib/lib{gfortran,gcc_s}.so*
+ rm -f ${pkgdir}/usr/lib/libquadmath.{a,so*}
+ rm -f ${pkgdir}/usr/lib/gcc/$CHOST/${pkgver}/{*.o,libgc*}
+ rm -f ${pkgdir}/usr/share/info/libquadmath.info
+ rm -fr ${pkgdir}/usr/lib/gcc/$CHOST/${pkgver}/include
# Install Runtime Library Exception
install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \