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

Allan McRae allan at nymeria.archlinux.org
Mon Oct 21 11:23:31 UTC 2013


    Date: Monday, October 21, 2013 @ 13:23:31
  Author: allan
Revision: 196954

upgpkg: gcc 4.8.2-3

add back some needed static libraries

Modified:
  gcc/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-21 10:59:56 UTC (rev 196953)
+++ PKGBUILD	2013-10-21 11:23:31 UTC (rev 196954)
@@ -6,7 +6,7 @@
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.8.2
-pkgrel=2
+pkgrel=3
 #_snapshot=4.8-20130725
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
@@ -153,7 +153,9 @@
   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++}.a
+  
+  # remove static libraries - note libstdc++.a is needed for the binutils and glibc testsuite
+  rm $pkgdir/usr/lib/lib{asan,gomp,itm,mudflap{,th},quadmath}.a
   [[ $CARCH = "x86_64" ]] && rm $pkgdir/usr/lib/libtsan.a
 
   # many packages expect this symlinks
@@ -259,8 +261,6 @@
 
   ln -s gcc ${pkgdir}/usr/bin/gnatgcc
 
-  rm ${pkgdir}/usr/lib/gcc/$CHOST/${pkgver}/adalib/libgna{rl,t}.a
-
   # Install Runtime Library Exception
   install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \
     ${pkgdir}/usr/share/licenses/gcc-ada/RUNTIME.LIBRARY.EXCEPTION




More information about the arch-commits mailing list