diff options
author | Marc Boocha | 2018-08-22 14:45:15 +0800 |
---|---|---|
committer | Marc Boocha | 2018-08-22 14:54:18 +0800 |
commit | 20a456f3a9520e939e0c0cc92e088544cab3bd8c (patch) | |
tree | b1a73813988bb2f505f5e6d87bb0eefe01894b4a | |
parent | 9c7d98baf640fbe83e24b05c77a35a2f9d2fb6be (diff) | |
download | aur-20a456f3a9520e939e0c0cc92e088544cab3bd8c.tar.gz |
Update Version to 2.31.1
Signed-off-by: Marc Boocha <marcboocha@gmail.com>
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | libiberty-ignore-cflags.patch | 16 |
3 files changed, 9 insertions, 29 deletions
@@ -1,17 +1,15 @@ pkgbase = x86_64-elf-binutils pkgdesc = A set of programs to assemble and manipulate binary and object files for the x86_64-elf target - pkgver = 2.29 - pkgrel = 2 + pkgver = 2.31.1 + pkgrel = 1 url = http://www.gnu.org/software/binutils/ arch = x86_64 license = GPL depends = zlib options = !emptydirs options = !docs - source = http://mirrors.kernel.org/gnu/binutils/binutils-2.29.tar.xz - source = libiberty-ignore-cflags.patch - sha256sums = 0b871e271c4c620444f8264f72143b4d224aa305306d85dd77ab8dce785b1e85 - sha256sums = 8b2aea00e98f7c311b1d0fb14e4b435a03c65fde32bc992c924edb6fa7b83c9c + source = http://mirrors.kernel.org/gnu/binutils/binutils-2.31.1.tar.xz + sha256sums = 5d20086ecf5752cc7d9134246e9588fa201740d540f7eb84d795b1f7a93bca86 pkgname = x86_64-elf-binutils @@ -5,24 +5,22 @@ _sysroot=/usr/lib/${_target} _pkgname=binutils pkgname=$_target-${_pkgname} -pkgver=2.29 -pkgrel=2 +pkgver=2.31.1 +pkgrel=1 pkgdesc='A set of programs to assemble and manipulate binary and object files for the x86_64-elf target' arch=(x86_64) url='http://www.gnu.org/software/binutils/' license=(GPL) depends=(zlib) options=(!emptydirs !docs) -source=("http://mirrors.kernel.org/gnu/binutils/binutils-$pkgver.tar.xz" - "libiberty-ignore-cflags.patch") -sha256sums=('0b871e271c4c620444f8264f72143b4d224aa305306d85dd77ab8dce785b1e85' - '8b2aea00e98f7c311b1d0fb14e4b435a03c65fde32bc992c924edb6fa7b83c9c') +source=("http://mirrors.kernel.org/gnu/binutils/binutils-$pkgver.tar.xz") +sha256sums=('5d20086ecf5752cc7d9134246e9588fa201740d540f7eb84d795b1f7a93bca86') _basedir=binutils-$pkgver prepare() { cd ${srcdir}/${_pkgname}-${pkgver} - patch -p1 -i $srcdir/libiberty-ignore-cflags.patch + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure mkdir $srcdir/binutils-build } diff --git a/libiberty-ignore-cflags.patch b/libiberty-ignore-cflags.patch deleted file mode 100644 index ddef5a472478..000000000000 --- a/libiberty-ignore-cflags.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -p1 -r a/libiberty/configure b/libiberty/configure -*** a/libiberty/configure Tue Jul 4 20:43:21 2017 ---- b/libiberty/configure Fri Aug 25 01:41:25 2017 -*************** -*** 10,11 **** ---- 10,19 ---- - # gives unlimited permission to copy, distribute and modify it. -+ -+ ## ---------------------------------------------------------- ## -+ ## PATCHED: Unset CFLAGS/CPPFLAGS so that libiberty compiles. ## -+ ## ---------------------------------------------------------- ## -+ -+ CFLAGS= -+ CPPFLAGS= -+ - ## -------------------- ## |