Date: Thursday, March 7, 2019 @ 15:07:08 Author: anatolik Revision: 438017
archrelease: copy trunk to community-x86_64 Added: riscv64-linux-gnu-binutils/repos/community-x86_64/PKGBUILD (from rev 438016, riscv64-linux-gnu-binutils/trunk/PKGBUILD) Deleted: riscv64-linux-gnu-binutils/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 114 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-03-07 15:07:01 UTC (rev 438016) +++ PKGBUILD 2019-03-07 15:07:08 UTC (rev 438017) @@ -1,57 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> -# Contributor: Emil Renner Berthing <a...@esmil.dk> - -_target=riscv64-linux-gnu -pkgname=$_target-binutils -pkgver=2.31.1 -pkgrel=2 -pkgdesc='Assemble and manipulate binary and object files for 32-bit and 64-bit RISC-V' -arch=('x86_64') -url='https://gnu.org/software/binutils/' -license=('GPL') -groups=('risc-v') -makedepends=('setconf') -source=("https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz") -sha512sums=('0fca326feb1d5f5fe505a827b20237fe3ec9c13eaf7ec7e35847fd71184f605ba1cefe1314b1b8f8a29c0aa9d88162849ee1c1a3e70c2f7407d88339b17edb30') - -prepare() { - setconf binutils-$pkgver/libiberty/configure ac_cpp="'\$CPP \$CPPFLAGS -O2'" -} - -build() { - cd "binutils-$pkgver" - - unset CPPFLAGS - - ./configure \ - --target=$_target \ - --prefix=/usr \ - --with-sysroot=/usr/$_target \ - --with-gnu-as \ - --with-gnu-ld \ - --with-system-zlib \ - --disable-nls \ - --enable-multilib \ - --enable-ld=default \ - --enable-gold \ - --enable-plugins \ - --enable-deterministic-archives - make -} - -check() { - # * Unset LDFLAGS as testsuite makes assumptions about which ones are active. - # * Do not abort on errors - manually check log files. - make -C "binutils-$pkgver" LDFLAGS="" -k check -} - -package() { - make -C "binutils-$pkgver" DESTDIR="$pkgdir" install - - # Remove info documents that conflict with host version - rm -r "$pkgdir/usr/share/info" -} - -# getver: gnu.org/software/binutils -# vim: ts=2 sw=2 et: Copied: riscv64-linux-gnu-binutils/repos/community-x86_64/PKGBUILD (from rev 438016, riscv64-linux-gnu-binutils/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-03-07 15:07:08 UTC (rev 438017) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: Emil Renner Berthing <a...@esmil.dk> + +_target=riscv64-linux-gnu +pkgname=$_target-binutils +pkgver=2.32 +pkgrel=1 +pkgdesc='Assemble and manipulate binary and object files for 32-bit and 64-bit RISC-V' +arch=('x86_64') +url='https://gnu.org/software/binutils/' +license=('GPL') +groups=('risc-v') +makedepends=('setconf') +source=("https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz") +sha512sums=('d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a') + +prepare() { + setconf binutils-$pkgver/libiberty/configure ac_cpp="'\$CPP \$CPPFLAGS -O2'" +} + +build() { + cd "binutils-$pkgver" + + unset CPPFLAGS + + ./configure \ + --target=$_target \ + --prefix=/usr \ + --with-sysroot=/usr/$_target \ + --with-gnu-as \ + --with-gnu-ld \ + --with-system-zlib \ + --disable-nls \ + --enable-multilib \ + --enable-ld=default \ + --enable-gold \ + --enable-plugins \ + --enable-deterministic-archives + make +} + +check() { + # * Unset LDFLAGS as testsuite makes assumptions about which ones are active. + # * Do not abort on errors - manually check log files. + make -C "binutils-$pkgver" LDFLAGS="" -k check +} + +package() { + make -C "binutils-$pkgver" DESTDIR="$pkgdir" install + + # Remove info documents that conflict with host version + rm -r "$pkgdir/usr/share/info" +} + +# getver: gnu.org/software/binutils +# vim: ts=2 sw=2 et: