summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/clang/APKBUILD3
1 files changed, 2 insertions, 1 deletions
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() {