# Automatically generated aport, do not edit! # Generator: pmbootstrap aportgen binutils-aarch64 # Based on: main/binutils pkgname=binutils-aarch64 pkgver=2.35.1 pkgrel=0 pkgdesc="Tools necessary to build programs for aarch64 targets" url="https://www.gnu.org/software/binutils/" makedepends="gettext libtool autoconf automake bison texinfo" arch="x86_64" license="GPL-2.0 GPL-3.0-or-later LGPL-2.0 BSD" source="https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz binutils-ld-fix-static-linking.patch gold-mips.patch ld-bfd-mips.patch " builddir="$srcdir/binutils-$pkgver" if [ "$CHOST" != "$CTARGET" ]; then pkgname="binutils-$CTARGET_ARCH" subpackages="" sonameprefix="binutils:" fi # secfixes: # 2.32-r0: # - CVE-2018-19931 # - CVE-2018-19932 # - CVE-2018-20002 # - CVE-2018-20712 # 2.28-r1: # - CVE-2017-7614 build() { _target="$(arch_to_hostspec aarch64)" "$builddir"/configure \ --build="$CBUILD" \ --target=$_target \ --with-lib-path=/usr/lib \ --prefix=/usr \ --with-sysroot=/usr/$_target \ --enable-ld=default \ --enable-gold=yes \ --enable-plugins \ --enable-deterministic-archives \ --disable-multilib \ --disable-werror \ --disable-nls make } package() { make install DESTDIR="$pkgdir" # remove man, info folders rm -rf "$pkgdir"/usr/share } sha512sums="94ff72708403413b70b247f3af4099ebaa882b6659249869f1ed9941a0f1912e313f08357d470f9fd2359e7f5e5b0eb86285e5eaf883fa8187789d6b1bd304eb binutils-2.35.1.tar.xz ecee33b0e435aa704af1c334e560f201638ff79e199aa11ed78a72f7c9b46f85fbb227af5748e735fd681d1965fcc42ac81b0c8824e540430ce0c706c81e8b49 binutils-ld-fix-static-linking.patch f55cf2e0bf82f97583a1abe10710e4013ecf7d64f1da2ef8659a44a06d0dd8beaf58dab98a183488ea137f03e32d62efc878d95f018f836f8cec870bc448556f gold-mips.patch 314d2ef9071c89940aa6c8118e8a1e2f191a5d0a4bf596da1ad9cc84f884d8bc7dea8bd7b9fc3f8f1bddd3fd41c6eb017e1e804044b3bf084df1ed9e6e095e2d ld-bfd-mips.patch"