summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/llvm8/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/llvm8/APKBUILD b/user/llvm8/APKBUILD
index b2a2ff991..38f56cd4b 100644
--- a/user/llvm8/APKBUILD
+++ b/user/llvm8/APKBUILD
@@ -101,7 +101,7 @@ build() {
-DLLVM_HOST_TRIPLE="$CHOST" \
-DLLVM_INCLUDE_EXAMPLES=OFF \
-DLLVM_LINK_LLVM_DYLIB=ON \
- -DLLVM_TARGETS_TO_BUILD='X86;ARM;AArch64;PowerPC;SystemZ;AMDGPU;NVPTX;Mips;BPF' \
+ -DLLVM_TARGETS_TO_BUILD='X86;ARM;AArch64;PowerPC;SystemZ;AMDGPU;NVPTX;Mips;BPF;Sparc;WebAssembly' \
"$builddir"
make llvm-tblgen
@@ -168,6 +168,7 @@ package() {
_mv lib/cmake/llvm/* "$pkgdir"/usr/lib/cmake/$pkgname/
rmdir lib/cmake/llvm
ln -s ../../../cmake/$pkgname lib/cmake/llvm
+ ln -s ../$pkgname "$pkgdir"/usr/lib/cmake/llvm
}
static() {