aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoromni <omni+alpine@hack.org>2021-03-02 17:45:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2021-03-17 06:17:49 +0000
commit07e7b50cd3adb22f8b51ea8ec7ae96e7a834828e (patch)
tree647497dbe1c79797be770451dd97d61d23312719
parentcdc98df1a66eba3340e2f3084738766ae62600f7 (diff)
downloadaports-07e7b50cd3adb22f8b51ea8ec7ae96e7a834828e.tar.gz
aports-07e7b50cd3adb22f8b51ea8ec7ae96e7a834828e.tar.bz2
aports-07e7b50cd3adb22f8b51ea8ec7ae96e7a834828e.tar.xz
main/binutils: upgrade to 2.35.2
-rw-r--r--main/binutils/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/binutils/APKBUILD b/main/binutils/APKBUILD
index 506ec2841e..cafa3ab611 100644
--- a/main/binutils/APKBUILD
+++ b/main/binutils/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=binutils
-pkgver=2.35.1
-pkgrel=1
+pkgver=2.35.2
+pkgrel=0
pkgdesc="Tools necessary to build programs"
url="https://www.gnu.org/software/binutils/"
makedepends_build="bison flex texinfo"
@@ -18,7 +18,7 @@ source="https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz
"
builddir="$srcdir/$pkgname-$pkgver"
-if [ "$CHOST" = "$CBUILD" -a "$CBUILD" = "$CTARGET" -a "$CTARGET_ARCH" != "riscv64" ]; then
+if [ "$CHOST" = "$CBUILD" ] && [ "$CBUILD" = "$CTARGET" ] && [ "$CTARGET_ARCH" != "riscv64" ]; then
subpackages="$subpackages $pkgname-gold"
fi
@@ -48,7 +48,7 @@ build() {
_cross_configure="--disable-install-libiberty"
fi
- if [ "$CHOST" = "$CBUILD" -a "$CBUILD" = "$CTARGET" ]; then
+ if [ "$CHOST" = "$CBUILD" ] && [ "$CBUILD" = "$CTARGET" ] && [ "$CTARGET_ARCH" != "riscv64" ]; then
_gold_configure="--enable-gold"
fi
@@ -101,7 +101,7 @@ package() {
if [ "$CHOST" != "$CTARGET" ]; then
# creating cross tools: remove any files that would conflict
# with the native tools, or other cross tools
- rm -r "$pkgdir"/usr/share
+ rm -r "${pkgdir:?}"/usr/share
rm -f "$pkgdir"/usr/lib/libiberty.a
fi
}
@@ -124,7 +124,7 @@ gold() {
mv "$pkgdir"/usr/$CTARGET/bin/ld.gold "$subpkgdir"/usr/$CTARGET/bin/ld.gold
}
-sha512sums="94ff72708403413b70b247f3af4099ebaa882b6659249869f1ed9941a0f1912e313f08357d470f9fd2359e7f5e5b0eb86285e5eaf883fa8187789d6b1bd304eb binutils-2.35.1.tar.xz
+sha512sums="9974ede5978d32e0d68fef23da48fa00bd06b0bff7ec45b00ca075c126d6bbe0cf2defc03ecc3f17bc6cc85b64271a13009c4049d7ba17de26e84e3a6e2c0348 binutils-2.35.2.tar.xz
ecee33b0e435aa704af1c334e560f201638ff79e199aa11ed78a72f7c9b46f85fbb227af5748e735fd681d1965fcc42ac81b0c8824e540430ce0c706c81e8b49 binutils-ld-fix-static-linking.patch
f55cf2e0bf82f97583a1abe10710e4013ecf7d64f1da2ef8659a44a06d0dd8beaf58dab98a183488ea137f03e32d62efc878d95f018f836f8cec870bc448556f gold-mips.patch
314d2ef9071c89940aa6c8118e8a1e2f191a5d0a4bf596da1ad9cc84f884d8bc7dea8bd7b9fc3f8f1bddd3fd41c6eb017e1e804044b3bf084df1ed9e6e095e2d ld-bfd-mips.patch