From 7644495470430e473b2fcf2116919cee7b91512f Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 18 Sep 2018 02:10:11 +0000 Subject: user/clang: strip debug info, only add symlink when needed --- user/clang/APKBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/user/clang/APKBUILD b/user/clang/APKBUILD index 8bcb9c2dd..826ca3373 100644 --- a/user/clang/APKBUILD +++ b/user/clang/APKBUILD @@ -50,7 +50,7 @@ build() { check() { cd "$builddir"/build - ln -s /usr/bin/lit bin/llvm-lit + [ -f bin/llvm-lit ] || ln -s /usr/bin/lit bin/llvm-lit make check-clang } @@ -66,6 +66,7 @@ static() { mkdir -p "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/ + strip -d "$subpkgdir"/usr/lib/*.a } analyzer() { -- cgit v1.2.3-70-g09d2