[arch-commits] Commit in riscv64-linux-gnu-binutils/repos/community-x86_64 (2 files)
Alexander Rødseth
arodseth at archlinux.org
Thu Oct 15 07:11:07 UTC 2020
Date: Thursday, October 15, 2020 @ 07:11:07
Author: arodseth
Revision: 724060
archrelease: copy trunk to community-x86_64
Added:
riscv64-linux-gnu-binutils/repos/community-x86_64/PKGBUILD
(from rev 724059, riscv64-linux-gnu-binutils/trunk/PKGBUILD)
Deleted:
riscv64-linux-gnu-binutils/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 111 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-15 07:11:02 UTC (rev 724059)
+++ PKGBUILD 2020-10-15 07:11:07 UTC (rev 724060)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Emil Renner Berthing <aur at esmil.dk>
-
-_target=riscv64-linux-gnu
-pkgname=$_target-binutils
-pkgver=2.35
-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=('9f222e4ab6720036402d03904fb11b73ab87714b85cd84997f7d357f405c7e10581d70202f9165a1ee0c70538632db27ecc9dfe627dddb1e6bc7edb1537cf786')
-
-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 724059, riscv64-linux-gnu-binutils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-15 07:11:07 UTC (rev 724060)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Emil Renner Berthing <aur at esmil.dk>
+
+_target=riscv64-linux-gnu
+pkgname=$_target-binutils
+pkgver=2.35.1
+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=('94ff72708403413b70b247f3af4099ebaa882b6659249869f1ed9941a0f1912e313f08357d470f9fd2359e7f5e5b0eb86285e5eaf883fa8187789d6b1bd304eb')
+
+prepare() {
+ setconf binutils-$pkgver/libiberty/configure ac_cpp "'\$CPP \$CPPFLAGS -O2'"
+}
+
+build() {
+ cd "binutils-$pkgver"
+
+ unset CPPFLAGS
+ ./configure \
+ --disable-nls \
+ --enable-deterministic-archives \
+ --enable-gold \
+ --enable-ld=default \
+ --enable-multilib \
+ --enable-plugins \
+ --prefix=/usr \
+ --target=$_target \
+ --with-gnu-as \
+ --with-gnu-ld \
+ --with-sysroot=/usr/$_target \
+ --with-system-zlib
+ 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
More information about the arch-commits
mailing list