diff options
author | Maarten de Vries | 2016-11-26 15:58:15 +0100 |
---|---|---|
committer | Maarten de Vries | 2017-05-25 14:50:52 +0200 |
commit | 93ce1fee39362be9b48099bbc7e1f9bfafc39d88 (patch) | |
tree | 0e2a394a971d64ba0066941e0b640dde92a30cb4 | |
parent | e9f155ba069f75484dfc65d34f4c3059d3c0934a (diff) | |
download | aur-93ce1fee39362be9b48099bbc7e1f9bfafc39d88.tar.gz |
Rely on clang 3.9 for linker.
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 23 insertions, 12 deletions
@@ -1,14 +1,13 @@ -# Generated by mksrcinfo v8 -# Thu Mar 10 19:41:09 UTC 2016 pkgbase = cloudabi-clang pkgdesc = Symlinks for the clang toolchain for CloudABI. pkgver = 1 - pkgrel = 2 + pkgrel = 3 url = http://clang.llvm.org/ arch = any license = custom:LLVM - depends = clang>=3.7 - depends = cloudabi-binutils + depends = clang>=3.9 + conflicts = cloudabi-binutils + replaces = cloudabi-binutils pkgname = cloudabi-clang @@ -4,20 +4,32 @@ pkgname=cloudabi-clang pkgver=1 -pkgrel=2 +pkgrel=3 pkgdesc="Symlinks for the clang toolchain for CloudABI." url='http://clang.llvm.org/' arch=('any') depends=( - 'clang>=3.7' - 'cloudabi-binutils' + 'clang>=3.9' + 'lld>=3.9' ) +replaces=(cloudabi-binutils) +conflicts=(cloudabi-binutils) +provides=(cloudabi-binutils) + license=(custom:LLVM) +_make_links() { + local arch="$1" + ln -s clang "$pkgdir/usr/bin/$arch-unknown-cloudabi-cc" + ln -s clang "$pkgdir/usr/bin/$arch-unknown-cloudabi-c++" + ln -s lld "$pkgdir/usr/bin/$arch-unknown-cloudabi-ld" +} + package() { install -d "$pkgdir/usr/bin" - ln -s clang "$pkgdir/usr/bin/x86_64-unknown-cloudabi-cc" - ln -s clang "$pkgdir/usr/bin/x86_64-unknown-cloudabi-c++" - ln -s clang "$pkgdir/usr/bin/aarch64-unknown-cloudabi-cc" - ln -s clang "$pkgdir/usr/bin/aarch64-unknown-cloudabi-c++" + + _make_links x86_64 + _make_links i686 + _make_links aarch64 + _make_links armv6 } |