diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-05 18:19:06 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-05 18:19:06 +0200 |
commit | 3bb7c2e9b57c32ae7c8d4d379f3ffb43a85cf7f3 (patch) | |
tree | 8dbfde4b451c770363df2577d2671f4d984088f9 | |
parent | f8aaf111155320381a4e3ab60e299a8ad4109177 (diff) |
gcc: Don't fail removing missing libraries.
-rw-r--r-- | core/gcc/PKGBUILD | 10 |
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 \ |