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

Allan McRae allan at nymeria.archlinux.org
Wed Dec 11 13:50:54 UTC 2013


    Date: Wednesday, December 11, 2013 @ 14:50:54
  Author: allan
Revision: 201425

upgpkg: gcc 4.8.2-6

binutils-2.24 toolchain build, move libiberty from binutils to gcc

Modified:
  gcc/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-11 13:49:35 UTC (rev 201424)
+++ PKGBUILD	2013-12-11 13:50:54 UTC (rev 201425)
@@ -7,7 +7,7 @@
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.8.2
 _pkgver=4.8
-pkgrel=5
+pkgrel=6
 #_snapshot=4.8-20130725
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
@@ -52,7 +52,11 @@
   
   # http://gcc.gnu.org/bugzilla//show_bug.cgi?id=56710 - commit 3d1f8279
   patch -p1 -i ${srcdir}/gcc-4.8-lambda-ICE.patch
-  
+
+  # installing libiberty headers is broken
+  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56780#c6
+  sed -i 's#@target_header_dir@#libiberty#' libiberty/Makefile.in
+
   mkdir ${srcdir}/gcc-build
 }
 
@@ -75,7 +79,7 @@
       --disable-libstdcxx-pch --disable-libssp \
       --enable-gnu-unique-object --enable-linker-build-id \
       --enable-cloog-backend=isl --disable-cloog-version-check \
-      --enable-lto --enable-plugin \
+      --enable-lto --enable-plugin --enable-install-libiberty \
       --with-linker-hash-style=gnu \
       --disable-multilib --disable-werror \
       --enable-checking=release
@@ -178,6 +182,8 @@
   make -C $CHOST/libquadmath DESTDIR=${pkgdir} install-nodist_libsubincludeHEADERS
   make -C $CHOST/libsanitizer/asan DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
 
+  make -C libiberty DESTDIR=${pkgdir} install
+
   make -C gcc DESTDIR=${pkgdir} install-man install-info
   rm ${pkgdir}/usr/share/man/man1/{gccgo,gfortran}.1
   rm ${pkgdir}/usr/share/info/{gccgo,gfortran,gnat-style,gnat_rm,gnat_ugn}.info




More information about the arch-commits mailing list