[arch-commits] Commit in riscv64-linux-gnu-binutils/repos/community-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 31 18:41:02 UTC 2021
Date: Monday, May 31, 2021 @ 18:41:01
Author: felixonmars
Revision: 952865
archrelease: copy trunk to community-x86_64
Added:
riscv64-linux-gnu-binutils/repos/community-x86_64/PKGBUILD
(from rev 952864, 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 2021-05-31 18:40:48 UTC (rev 952864)
+++ PKGBUILD 2021-05-31 18:41:01 UTC (rev 952865)
@@ -1,57 +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.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
Copied: riscv64-linux-gnu-binutils/repos/community-x86_64/PKGBUILD (from rev 952864, riscv64-linux-gnu-binutils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-31 18:41:01 UTC (rev 952865)
@@ -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.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=('cc24590bcead10b90763386b6f96bb027d7594c659c2d95174a6352e8b98465a50ec3e4088d0da038428abe059bbc4ae5f37b269f31a40fc048072c8a234f4e9')
+
+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