diff options
author | Marc Boocha | 2018-08-22 15:40:34 +0800 |
---|---|---|
committer | Marc Boocha | 2018-08-22 15:40:34 +0800 |
commit | ceb23db50b45b2569ed8bae4bf917f10d3314adb (patch) | |
tree | 7f9e3d2bdb0e3d6bdb167151677fa2cfb976b69c | |
parent | 517c8b8e5b09b91dea5640f1cdd55b8917a9aa2b (diff) | |
download | aur-ceb23db50b45b2569ed8bae4bf917f10d3314adb.tar.gz |
Updated to 8.2
Signed-off-by: Marc Boocha <marcboocha@gmail.com>
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | libiberty-ignore-cflags.patch | 16 |
3 files changed, 7 insertions, 27 deletions
@@ -1,6 +1,6 @@ pkgbase = x86_64-elf-gcc pkgdesc = The GNU Compiler Collection - cross compiler for x86_64-elf target - pkgver = 7.2.0 + pkgver = 8.2.0 pkgrel = 2 url = http://gcc.gnu.org/ arch = x86_64 @@ -12,10 +12,8 @@ pkgbase = x86_64-elf-gcc depends = mpfr depends = gmp options = !emptydirs - source = https://mirrors.kernel.org/gnu/gcc/gcc-7.2.0/gcc-7.2.0.tar.xz - source = libiberty-ignore-cflags.patch - sha256sums = 1cf7adf8ff4b5aa49041c8734bbcf1ad18cc4c94d0029aae0f4e48841088479a - sha256sums = 8b2aea00e98f7c311b1d0fb14e4b435a03c65fde32bc992c924edb6fa7b83c9c + source = https://mirrors.kernel.org/gnu/gcc/gcc-8.2.0/gcc-8.2.0.tar.xz + sha256sums = 196c3c04ba2613f893283977e6011b2345d1cd1af9abeac58e916b1aab3e0080 pkgname = x86_64-elf-gcc @@ -2,7 +2,7 @@ _target=x86_64-elf pkgname=$_target-gcc -pkgver=7.2.0 +pkgver=8.2.0 pkgrel=2 pkgdesc='The GNU Compiler Collection - cross compiler for x86_64-elf target' arch=(x86_64) @@ -10,16 +10,14 @@ url='http://gcc.gnu.org/' license=(GPL LGPL) depends=($_target-binutils zlib libmpc mpfr gmp) options=(!emptydirs) -source=("https://mirrors.kernel.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz" - "libiberty-ignore-cflags.patch") -sha256sums=('1cf7adf8ff4b5aa49041c8734bbcf1ad18cc4c94d0029aae0f4e48841088479a' - '8b2aea00e98f7c311b1d0fb14e4b435a03c65fde32bc992c924edb6fa7b83c9c') +source=("https://mirrors.kernel.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz") +sha256sums=('196c3c04ba2613f893283977e6011b2345d1cd1af9abeac58e916b1aab3e0080') _basedir=gcc-$pkgver prepare() { cd $_basedir - patch -p1 -i $srcdir/libiberty-ignore-cflags.patch + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure mkdir $srcdir/gcc-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= -+ - ## -------------------- ## |