[arch-commits] Commit in riscv64-linux-gnu-binutils/repos/community-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Aug 11 07:03:26 UTC 2022
Date: Thursday, August 11, 2022 @ 07:03:26
Author: felixonmars
Revision: 1265164
archrelease: copy trunk to community-x86_64
Added:
riscv64-linux-gnu-binutils/repos/community-x86_64/PKGBUILD
(from rev 1265163, 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 2022-08-11 07:03:13 UTC (rev 1265163)
+++ PKGBUILD 2022-08-11 07:03:26 UTC (rev 1265164)
@@ -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.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
Copied: riscv64-linux-gnu-binutils/repos/community-x86_64/PKGBUILD (from rev 1265163, riscv64-linux-gnu-binutils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-11 07:03:26 UTC (rev 1265164)
@@ -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.38
+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=('8bf0b0d193c9c010e0518ee2b2e5a830898af206510992483b427477ed178396cd210235e85fd7bd99a96fc6d5eedbeccbd48317a10f752b7336ada8b2bb826d')
+
+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 -O
+}
+
+check() {
+ # * Unset LDFLAGS as testsuite makes assumptions about which ones are active.
+ # * Do not abort on errors - manually check log files.
+ make -O -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