diff options
author | Christer Solskogen | 2021-02-11 12:13:59 +0100 |
---|---|---|
committer | Christer Solskogen | 2021-02-11 12:13:59 +0100 |
commit | 9aa388a2f834db8d2f742c5c34fe66bcd938c1c6 (patch) | |
tree | 21d497ca69f182a68a4848fc825d3e40ca19e8e4 | |
parent | 37349c237eb01e4933647888dc36d487e790d7a4 (diff) | |
download | aur-9aa388a2f834db8d2f742c5c34fe66bcd938c1c6.tar.gz |
Replaced workaround, removed unneeded configure flag
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 4 deletions
@@ -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 @@ -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 \ |