diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-17 18:22:51 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-17 18:22:51 +0000 |
commit | d079f866e1a31f54e0c3f3d76f2f5cc6380a77cb (patch) | |
tree | d28685cc5a680017a579fa8567d7d7f9c416de83 /user | |
parent | b47c24ae242e490bbbb1c8dbde94bf19cd238596 (diff) | |
download | packages-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/APKBUILD | 7 |
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() { |