diff options
author | FFY00 | 2018-09-08 23:28:42 +0100 |
---|---|---|
committer | FFY00 | 2018-09-08 23:28:42 +0100 |
commit | ee3c20d5e7c446ba94e1ca01848f332c4d0b4f27 (patch) | |
tree | 6fff3d5ae65145a4693a33e135acfca6b0d7f609 | |
parent | e78b0fd6bd74bc8f5b09516b1768d1353371727a (diff) | |
download | aur-ee3c20d5e7c446ba94e1ca01848f332c4d0b4f27.tar.gz |
fix lto plugin
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 13 insertions, 15 deletions
@@ -1,7 +1,7 @@ pkgbase = gdc-git pkgdesc = GCC based D compiler - pkgver = 8.2.0+2.081.2 - pkgrel = 3 + pkgver = 8.2.1+2.081.2 + pkgrel = 1 url = https://github.com/D-Programming-GDC/GDC arch = x86_64 arch = i686 @@ -9,8 +9,8 @@ pkgbase = gdc-git license = GPL3 makedepends = git makedepends = gdc - source = https://ftp.gnu.org/gnu/gcc/gcc-8.2.0/gcc-8.2.0.tar.xz - source = http://isl.gforge.inria.fr/isl-0.19.tar.bz2 + source = ftp://gcc.gnu.org/pub/gcc/releases/8-20180831/gcc-8-20180831.tar.xz + source = http://isl.gforge.inria.fr/isl-0.20.tar.bz2 source = gdc::git+https://github.com/D-Programming-GDC/GDC.git#branch=gdc-8 source = git+https://github.com/D-Programming-GDC/GDMD.git source = paths.diff @@ -1,4 +1,4 @@ -# Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org> +# Maintainer: Filipe Laíns (FFY-01) <lains@archlinux.org> # Maintainer: Daniel Kozak (kozzi) <kozzi11@gmail.com> # Contributor: Mihails Strasuns <public@dicebot.lv> # Contributor: Moritz Maxeiner <moritz@ucworks.org> @@ -8,20 +8,20 @@ # Contributor: Elijah Stone <elronnd@elronnd.net> pkgbase=gdc-git -pkgname=('gdc-git' 'libgphobos-git') -pkgver=8.2.0+2.081.2 +pkgname=(gdc-git libgphobos-git) +pkgver=8.2.1+2.081.2 _branch=gdc-8 # Change here! pkgver/_gccver/_d_ver will be automatically updated. -_islver=0.19 # Change here! -_gccver=$(curl https://raw.githubusercontent.com/D-Programming-GDC/GDC/$_branch/gcc.version) +_islver=0.20 # Change here! +_gccver=8-20180831 # Change here! Should match Arch's GCC version _d_ver='' -pkgrel=3 +pkgrel=1 arch=('x86_64' 'i686') license=('GPL3') url="https://github.com/D-Programming-GDC/GDC" pkgdesc="GCC based D compiler" groups=('dlang') makedepends=('git' 'gdc') -source=("https://ftp.gnu.org/gnu/gcc/$_gccver/$_gccver.tar.xz" +source=("ftp://gcc.gnu.org/pub/gcc/releases/$_gccver/gcc-$_gccver.tar.xz" "http://isl.gforge.inria.fr/isl-$_islver.tar.bz2" "gdc::git+https://github.com/D-Programming-GDC/GDC.git#branch=$_branch" 'git+https://github.com/D-Programming-GDC/GDMD.git' @@ -39,7 +39,7 @@ pkgver() { _d_ver="+$(cat gdc/gcc/d/VERSION | sed 's|\"||g')" fi - echo "$(cat gdc/gcc.version | sed -e 's|gcc-||' -e 's|-.*||')$_d_ver" + echo "$(cat gcc/gcc/BASE-VER)$_d_ver" } prepare() { @@ -90,6 +90,7 @@ build() { --disable-libssp \ --enable-gnu-unique-object \ --enable-linker-build-id \ + --enable-lto \ --enable-plugin \ --enable-install-libiberty \ --with-linker-hash-style=gnu \ @@ -103,9 +104,6 @@ build() { --with-pkgversion="GDC ${pkgver%+*} based on D v${pkgver#*+} built with ISL $_islver for Arch Linux" \ gdc_include_dir=/usr/include/dlang/gdc - #--enable-gold \ - - make } |