aboutsummaryrefslogtreecommitdiffstats
path: root/main/compiler-rt/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/compiler-rt/APKBUILD')
-rw-r--r--main/compiler-rt/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/compiler-rt/APKBUILD b/main/compiler-rt/APKBUILD
index dcdb5d5224..2ed1acc739 100644
--- a/main/compiler-rt/APKBUILD
+++ b/main/compiler-rt/APKBUILD
@@ -4,11 +4,18 @@ pkgname=compiler-rt
# Note: Update together with llvm.
pkgver=4.0.0
pkgrel=0
+_vermajor=${pkgver%%.*}
pkgdesc="LLVM compiler-rt runtime libraries"
arch="all"
url="http://llvm.org/"
license="UOI-NCSA"
-makedepends="cmake linux-headers llvm-dev llvm-static python2"
+makedepends="
+ cmake
+ linux-headers
+ llvm-dev>=$_vermajor
+ llvm-static>=$_vermajor
+ python2
+ "
source="http://llvm.org/releases/$pkgver/$pkgname-$pkgver.src.tar.xz"
builddir="$srcdir/$pkgname-$pkgver.src"