From 3353ad6f2c89d3afa0fc91e2b7fea803779ce028 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Tue, 9 Jan 2018 13:34:02 +0000 Subject: [PATCH] core/gcc to 7.2.1+20171224-2 --- core/gcc/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD index 1ff58ffc1..6082af886 100644 --- a/core/gcc/PKGBUILD +++ b/core/gcc/PKGBUILD @@ -19,7 +19,7 @@ pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-go) pkgver=7.2.1+20171224 _majorver=${pkgver:0:1} _islver=0.18 -pkgrel=1 +pkgrel=2 pkgdesc='The GNU Compiler Collection' arch=(x86_64) license=(GPL LGPL FDL custom) @@ -219,7 +219,7 @@ package_gcc() { make -C lto-plugin DESTDIR="$pkgdir" install install -dm755 "$pkgdir"/usr/lib/bfd-plugins/ - ln -s /usr/lib/gcc/$CHOST/$pkgver/liblto_plugin.so \ + ln -s /${_libdir}/liblto_plugin.so \ "$pkgdir/usr/lib/bfd-plugins/" make -C $CHOST/libgomp DESTDIR="$pkgdir" install-nodist_{libsubinclude,toolexeclib}HEADERS