[arch-commits] Commit in riscv64-linux-gnu-binutils/repos/community-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Aug 5 04:42:04 UTC 2018
Date: Sunday, August 5, 2018 @ 04:42:03
Author: felixonmars
Revision: 368154
archrelease: copy trunk to community-x86_64
Added:
riscv64-linux-gnu-binutils/repos/community-x86_64/PKGBUILD
(from rev 368153, riscv64-linux-gnu-binutils/trunk/PKGBUILD)
Deleted:
riscv64-linux-gnu-binutils/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 122 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-05 04:41:44 UTC (rev 368153)
+++ PKGBUILD 2018-08-05 04:42:03 UTC (rev 368154)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Emil Renner Berthing <aur at esmil.dk>
-
-_target=riscv64-linux-gnu
-pkgname=$_target-binutils
-pkgver=2.31
-pkgrel=1
-pkgdesc='Assemble and manipulate binary and object files for 32bit and 64bit RISC-V'
-arch=('x86_64')
-url='http://www.gnu.org/software/binutils/'
-license=('GPL')
-depends=('zlib')
-source=("https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz")
-sha512sums=('3448a71c42d790569c1159c1042aa520b2d8ac8af7506fb1f2a4199dfb13b39f1c2271a5cb3a643d10c7d8a388a73f190e90503d4793a016da7893473aa1c635')
-
-prepare() {
- cd binutils-$pkgver
- sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
-}
-
-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() {
- cd binutils-$pkgver
-
- # unset LDFLAGS as testsuite makes assumptions about which ones are active
- # do not abort on errors - manually check log files
- make LDFLAGS="" -k check
-}
-
-package() {
- cd binutils-$pkgver
-
- make DESTDIR="$pkgdir" install
-
- # Remove info documents that conflict with host version
- rm -r "$pkgdir"/usr/share/info
-}
-
-# vim: set ts=2 sw=2 et:
Copied: riscv64-linux-gnu-binutils/repos/community-x86_64/PKGBUILD (from rev 368153, riscv64-linux-gnu-binutils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-05 04:42:03 UTC (rev 368154)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Emil Renner Berthing <aur at esmil.dk>
+
+_target=riscv64-linux-gnu
+pkgname=$_target-binutils
+pkgver=2.31.1
+pkgrel=1
+pkgdesc='Assemble and manipulate binary and object files for 32bit and 64bit RISC-V'
+arch=('x86_64')
+url='http://www.gnu.org/software/binutils/'
+license=('GPL')
+depends=('zlib')
+source=("https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz")
+sha512sums=('0fca326feb1d5f5fe505a827b20237fe3ec9c13eaf7ec7e35847fd71184f605ba1cefe1314b1b8f8a29c0aa9d88162849ee1c1a3e70c2f7407d88339b17edb30')
+
+prepare() {
+ cd binutils-$pkgver
+ sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+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() {
+ cd binutils-$pkgver
+
+ # unset LDFLAGS as testsuite makes assumptions about which ones are active
+ # do not abort on errors - manually check log files
+ make LDFLAGS="" -k check
+}
+
+package() {
+ cd binutils-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ # Remove info documents that conflict with host version
+ rm -r "$pkgdir"/usr/share/info
+}
+
+# vim: set ts=2 sw=2 et:
More information about the arch-commits
mailing list