[arch-commits] Commit in gcc/trunk (PKGBUILD)

Allan McRae allan at nymeria.archlinux.org
Mon Oct 21 03:58:34 UTC 2013


    Date: Monday, October 21, 2013 @ 05:58:34
  Author: allan
Revision: 196910

propegate the emptydir option, libtsan.a is x86_64 only

Modified:
  gcc/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-21 03:50:31 UTC (rev 196909)
+++ PKGBUILD	2013-10-21 03:58:34 UTC (rev 196910)
@@ -153,7 +153,8 @@
   rm $pkgdir/usr/share/info/{gccgo,gfortran,gnat*,libgomp,libquadmath,libitm}.info
   rm $pkgdir/usr/share/locale/{de,fr}/LC_MESSAGES/libstdc++.mo
   rm $pkgdir/usr/share/man/man1/{gccgo,gfortran}.1
-  rm $pkgdir/usr/lib/lib{asan,gomp,itm,mudflap{,th},quadmath,stdc++,tsan}.a
+  rm $pkgdir/usr/lib/lib{asan,gomp,itm,mudflap{,th},quadmath,stdc++}.a
+  [[ $CARCH = "x86_64" ]] && rm $pkgdir/usr/lib/libtsan.a
 
   # many packages expect this symlinks
   ln -s gcc ${pkgdir}/usr/bin/cc
@@ -201,7 +202,7 @@
 {
   pkgdesc="Fortran front-end for GCC"
   depends=("gcc=$pkgver-$pkgrel")
-  options=('staticlibs')
+  options=('staticlibs' '!emptydirs')
   install=gcc-fortran.install
 
   cd ${srcdir}/gcc-build
@@ -249,7 +250,7 @@
 {
   pkgdesc="Ada front-end for GCC (GNAT)"
   depends=("gcc=$pkgver-$pkgrel")
-  options=('staticlibs')
+  options=('staticlibs' '!emptydirs')
   install=gcc-ada.install
 
   cd ${srcdir}/gcc-build/gcc
@@ -269,7 +270,7 @@
 {
   pkgdesc="Go front-end for GCC"
   depends=("gcc=$pkgver-$pkgrel")
-  options=('staticlibs')
+  options=('staticlibs' '!emptydirs')
   install=gcc-go.install
 
   cd ${srcdir}/gcc-build




More information about the arch-commits mailing list