[arch-commits] Commit in riscv64-linux-gnu-binutils/repos/community-x86_64 (2 files)

Felix Yan felixonmars at archlinux.org
Tue May 11 00:39:35 UTC 2021


    Date: Tuesday, May 11, 2021 @ 00:39:34
  Author: felixonmars
Revision: 929790

archrelease: copy trunk to community-x86_64

Added:
  riscv64-linux-gnu-binutils/repos/community-x86_64/PKGBUILD
    (from rev 929789, riscv64-linux-gnu-binutils/trunk/PKGBUILD)
Deleted:
  riscv64-linux-gnu-binutils/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  112 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 57 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-11 00:39:26 UTC (rev 929789)
+++ PKGBUILD	2021-05-11 00:39:34 UTC (rev 929790)
@@ -1,55 +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.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

Copied: riscv64-linux-gnu-binutils/repos/community-x86_64/PKGBUILD (from rev 929789, riscv64-linux-gnu-binutils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-11 00:39:34 UTC (rev 929790)
@@ -0,0 +1,57 @@
+# 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.36
+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=('0b89b70d4ad5cfe5bd0011dc7e342ae9de96efdbfc3442a0d6b5f7660e38bbcad36f2c72ba8f074323f02bde022ff1cd723ae99f0ea55cf94ee2dbbc0e4efdb2')
+
+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"
+
+  rm "$pkgdir"/usr/lib/bfd-plugins/libdep.so
+}
+
+# getver: gnu.org/software/binutils



More information about the arch-commits mailing list