summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hsuan Yen <yan12125@gmail.com>2018-02-11 04:26:50 +0800
committerChih-Hsuan Yen <yan12125@gmail.com>2018-02-11 04:26:50 +0800
commit9ce0c38564814935977b12e697be0e7845a96a83 (patch)
tree5ae4c4e65ff593ef6d6a6265b5096ccc127abefd
parent3ed230bf40e7beaf31f3b58378ee837288971917 (diff)
Add missing dependencies
Cherry-picked from https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gcc&id=d19599800da62bd4b27e65a84a46d80dcf84b9c3 (The last GCC 5.x commit in Arch)
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bf28443..bfde102 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gcc5
pkgdesc = The GNU Compiler Collection (5.x.x)
pkgver = 5.5.0
- pkgrel = 2
+ pkgrel = 4
url = http://gcc.gnu.org
arch = i686
arch = x86_64
@@ -9,8 +9,9 @@ pkgbase = gcc5
license = LGPL
license = FDL
license = custom
- makedepends = binutils>=2.26
- makedepends = libmpc
+ depends = glibc>=2.23
+ depends = binutils>=2.26
+ depends = libmpc
options = !emptydirs
source = ftp://gcc.gnu.org/pub/gcc/releases/gcc-5.5.0/gcc-5.5.0.tar.xz
source = http://isl.gforge.inria.fr/isl-0.18.tar.bz2
diff --git a/PKGBUILD b/PKGBUILD
index 496fe74..4b48365 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,12 +7,12 @@ pkgname=('gcc5')
pkgver=5.5.0
_pkgver=5
_islver=0.18
-pkgrel=2
+pkgrel=4
pkgdesc="The GNU Compiler Collection (5.x.x)"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL' 'custom')
url="http://gcc.gnu.org"
-makedepends=('binutils>=2.26' 'libmpc')
+depends=('glibc>=2.23' 'binutils>=2.26' 'libmpc')
options=('!emptydirs')
source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.xz
http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2)
@@ -72,7 +72,6 @@ build() {
--enable-version-specific-runtime-libs
#--enable-install-libiberty
- export LD_PRELOAD=/usr/lib/libstdc++.so
make
}