summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/llvm6/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/user/llvm6/APKBUILD b/user/llvm6/APKBUILD
index 5ec756ef9..d29026f24 100644
--- a/user/llvm6/APKBUILD
+++ b/user/llvm6/APKBUILD
@@ -13,8 +13,10 @@ options="!checkroot !dbg"
url="https://llvm.org/"
license="NCSA"
depends_dev="$pkgname=$pkgver-r$pkgrel"
-makedepends="binutils-dev chrpath cmake file libffi-dev python3 zlib-dev"
-subpackages="$pkgname-static $pkgname-libs $pkgname-dev $pkgname-test-utils:_test_utils"
+makedepends="binutils-dev chrpath cmake file libexecinfo-dev libffi-dev
+ libxml2-dev python3 zlib-dev"
+subpackages="$pkgname-static $pkgname-libs $pkgname-dev
+ $pkgname-test-utils:_test_utils"
source="http://llvm.org/releases/$pkgver/llvm-$pkgver.src.tar.xz
llvm-fix-build-with-musl-libc.patch
cmake-fix-libLLVM-name.patch
@@ -169,6 +171,7 @@ static() {
_common_subpkg
_mv "$pkgdir"/$_prefix/lib/*.a "$subpkgdir"/$_prefix/lib/
+ strip -d "$subpkgdir"/$_prefix/lib/*.a
}
libs() {