[arch-commits] Commit in gdc/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Wed Aug 29 22:35:20 UTC 2018
Date: Wednesday, August 29, 2018 @ 22:35:15
Author: ffy00
Revision: 375391
upgpkg: gdc 8.2.0+2.068.2-2
Modified:
gdc/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-29 22:34:56 UTC (rev 375390)
+++ PKGBUILD 2018-08-29 22:35:15 UTC (rev 375391)
@@ -1,4 +1,3 @@
-# $Id$
# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
# Contributor: Daniel Kozak (kozzi) <kozzi11 at gmail.com>
# Contributor: Mihails Strasuns <public at dicebot.lv>
@@ -15,12 +14,12 @@
_islver=0.19 # Change here!
_gccver=$(curl https://raw.githubusercontent.com/D-Programming-GDC/GDC/$_branch/gcc.version)
_d_ver=''
-pkgrel=1
+pkgrel=2
arch=('x86_64')
license=('GPL3')
url="https://github.com/D-Programming-GDC/GDC"
pkgdesc="GCC based D compiler"
-groups=('dlang' 'dlang-dmd')
+groups=('dlang')
makedepends=('git')
source=("ftp://gcc.gnu.org/pub/gcc/snapshots/${_gccver#gcc-}/$_gccver.tar.xz"
"http://isl.gforge.inria.fr/isl-$_islver.tar.bz2"
@@ -91,7 +90,6 @@
--disable-libssp \
--enable-gnu-unique-object \
--enable-linker-build-id \
- --enable-lto \
--enable-plugin \
--enable-install-libiberty \
--with-linker-hash-style=gnu \
@@ -98,10 +96,9 @@
--enable-gnu-indirect-function \
--disable-multilib \
--disable-werror \
- --enable-checking=release \
+ --disable-bootstrap \
--enable-default-pie \
--enable-default-ssp \
- --enable-cet=auto \
--with-bugurl=https://bugs.archlinux.org/ \
--with-pkgversion="GDC ${pkgver%+*} based on D v$_d_ver built with ISL $_isl for Arch Linux" \
gdc_include_dir=/usr/include/dlang/gdc
@@ -136,4 +133,10 @@
cd "$srcdir"/gcc-build
make -C $CHOST/libphobos DESTDIR="$pkgdir" install
+
+ if [ -d "$pkgdir"/usr/lib64 ]; then
+ echo "/usr/lib64 detected - !!!"
+ mv "$pkgdir"/usr/lib64/* "$pkgdir"/usr/lib
+ rmdir "$pkgdir"/usr/lib64
+ fi
}
More information about the arch-commits
mailing list