summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-17 18:22:51 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-17 18:22:51 +0000
commitd079f866e1a31f54e0c3f3d76f2f5cc6380a77cb (patch)
treed28685cc5a680017a579fa8567d7d7f9c416de83 /user
parentb47c24ae242e490bbbb1c8dbde94bf19cd238596 (diff)
downloadpackages-d079f866e1a31f54e0c3f3d76f2f5cc6380a77cb.tar.gz
packages-d079f866e1a31f54e0c3f3d76f2f5cc6380a77cb.tar.bz2
packages-d079f866e1a31f54e0c3f3d76f2f5cc6380a77cb.tar.xz
packages-d079f866e1a31f54e0c3f3d76f2f5cc6380a77cb.zip
user/llvm6: Strip useless debug symbols from -static
Diffstat (limited to 'user')
-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() {