diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-09-21 18:12:12 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-09-21 18:12:12 -0500 |
commit | acbe80d262f5be4e423b8fdd544ce66f6ed474ed (patch) | |
tree | fda67376f338202797c58d23862529354ff021ca /libre-testing/binutils/PKGBUILD | |
parent | 4157549d95cfb7ee69d4e3b5ae41791d048a291d (diff) | |
download | abslibre-acbe80d262f5be4e423b8fdd544ce66f6ed474ed.tar.gz abslibre-acbe80d262f5be4e423b8fdd544ce66f6ed474ed.tar.bz2 abslibre-acbe80d262f5be4e423b8fdd544ce66f6ed474ed.zip |
Removing packages from [libre-testing]. These packages are in [core] repo
Diffstat (limited to 'libre-testing/binutils/PKGBUILD')
-rw-r--r-- | libre-testing/binutils/PKGBUILD | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/libre-testing/binutils/PKGBUILD b/libre-testing/binutils/PKGBUILD deleted file mode 100644 index 44c646faa..000000000 --- a/libre-testing/binutils/PKGBUILD +++ /dev/null @@ -1,76 +0,0 @@ -# $Id$ -# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697 -# Maintainer (Arch): Allan McRae <allan@archlinux.org> - -# toolchain build order: linux-libre-api-headers->glibc->binutils->gcc->binutils->glibc - -pkgname=binutils -pkgver=2.27 -pkgrel=1.91.parabola1 -pkgdesc="A set of programs to assemble and manipulate binary and object files" -arch=('i686' 'x86_64') -url="https://www.gnu.org/software/binutils/" -license=('GPL') -groups=('base-devel') -depends=('glibc>=2.24-2' 'zlib') -checkdepends=('dejagnu' 'bc') -conflicts=('binutils-multilib') -replaces=('binutils-multilib') -options=('staticlibs' '!distcc' '!ccache') -source=("https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2"{,.sig}) -validpgpkeys=('EAF1C276A747E9ED86210CBAC3126D3B4AE55E93') # Tristan Gingold <gingold@adacore.com> -sha512sums=('cf276f84935312361a2ca077e04d0b469d23a3aed979d8ba5d92ea590904ffb2c2e7ed12cc842822bfc402836be86f479660cef3791aa62f3753d8a1a6f564cb' - 'a0eb45809667850c2ef85be64ba0637a9a9b721bc77b24d0630f2f420855c33b9d781378fb58f4b0a4856caebf54c49d5e22d5f90761c419c1d0f7167da48f4a') # https://mirrors.kernel.org/sourceware/binutils/sha512.sum - -prepare() { - cd binutils-$pkgver - - # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS" - sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure - - mkdir ${srcdir}/binutils-build -} - -build() { - cd binutils-build - - ../binutils-$pkgver/configure \ - --prefix=/usr \ - --with-lib-path=/usr/lib:/usr/local/lib \ - --with-bugurl=https://bugs.archlinux.org/ \ - --enable-threads \ - --enable-shared \ - --with-pic \ - --enable-ld=default \ - --enable-gold \ - --enable-plugins \ - --enable-deterministic-archives \ - --disable-werror \ - --disable-gdb - - # check the host environment and makes sure all the necessary tools are available - make configure-host - - make tooldir=/usr -} - -check() { - cd binutils-build - - # unset LDFLAGS as testsuite makes assumptions about which ones are active - # ignore failures in gold testsuite... - make -k LDFLAGS="" check || true -} - -package() { - cd binutils-build - make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install - - # Remove unwanted files - rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}* - - # No shared linking to these files outside binutils - rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so - echo "INPUT ( /usr/lib/libbfd.a -liberty -lz -ldl )" > "$pkgdir"/usr/lib/libbfd.so - echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" > "$pkgdir"/usr/lib/libopcodes.so -} |