summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChrister Solskogen2021-02-11 12:13:59 +0100
committerChrister Solskogen2021-02-11 12:13:59 +0100
commit9aa388a2f834db8d2f742c5c34fe66bcd938c1c6 (patch)
tree21d497ca69f182a68a4848fc825d3e40ca19e8e4
parent37349c237eb01e4933647888dc36d487e790d7a4 (diff)
downloadaur-9aa388a2f834db8d2f742c5c34fe66bcd938c1c6.tar.gz
Replaced workaround, removed unneeded configure flag
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fb415f7f9ff..4ef142324d6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = aarch64-binutils
pkgdesc = A set of programs to assemble and manipulate binary and object files for the ARM64 target
pkgver = 2.36.1
- pkgrel = 1
+ pkgrel = 2
url = https://www.gnu.org/software/binutils/
arch = x86_64
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index cfd88d5e670..76515c1c18b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ _arch=aarch64
_target=$_arch-unknown-linux-gnu
pkgname=$_arch-binutils
pkgver=2.36.1
-pkgrel=1
+pkgrel=2
pkgdesc='A set of programs to assemble and manipulate binary and object files for the ARM64 target'
arch=(x86_64)
url='https://www.gnu.org/software/binutils/'
@@ -20,7 +20,12 @@ validpgpkeys=('EAF1C276A747E9ED86210CBAC3126D3B4AE55E93' # Tristan Gingold <gin
prepare() {
cd binutils-$pkgver
- sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+
+ #hack - Having CPPFLAGS defined makes the build barf. Workaround it like this:
+ _cppflags=$CPPFLAGS
+ CFLAGS="$_cppflags $CFLAGS"
+ CXXFLAGS="$CFLAGS"
+ unset CPPFLAGS
}
build() {
@@ -31,7 +36,6 @@ build() {
--prefix=/usr \
--disable-multilib \
--disable-nls \
- --enable-ld=default \
--enable-gold \
--enable-plugins \
--enable-deterministic-archives \