summaryrefslogtreecommitdiff
path: root/lld/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <contact@romster.me>2021-12-11 23:40:37 +1100
committerDanny Rawlins <contact@romster.me>2021-12-11 23:45:28 +1100
commit76cf5e2b35eaef2276b406a6665117c7719cbe3d (patch)
tree4cb02192d2a22a2dc9c735b37bb4773b518b303b /lld/Pkgfile
parent60e600a9859a83f64ed4810786ccc05a2ed34bb4 (diff)
downloadopt-76cf5e2b35eaef2276b406a6665117c7719cbe3d.tar.gz
opt-76cf5e2b35eaef2276b406a6665117c7719cbe3d.tar.xz
[notify] lld: new webassembly target
Diffstat (limited to 'lld/Pkgfile')
-rw-r--r--lld/Pkgfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/Pkgfile b/lld/Pkgfile
index 15777c8ed..b544b5e90 100644
--- a/lld/Pkgfile
+++ b/lld/Pkgfile
@@ -5,7 +5,7 @@
name=lld
version=13.0.0
-release=1
+release=2
source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/lld-$version.src.tar.xz
0002-PATCH-lld-Import-compact_unwind_encoding.h-from-libu.patch)
@@ -17,7 +17,7 @@ build() {
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
- -D LLVM_TARGETS_TO_BUILD='X86;AMDGPU;BPF;NVPTX' \
+ -D LLVM_TARGETS_TO_BUILD='X86;AMDGPU;BPF;NVPTX;WebAssembly' \
-D LLVM_LINK_LLVM_DYLIB=ON \
-D LLVM_PARALLEL_COMPILE_JOBS="${JOBS:-1}" \
-Wno-dev

Generated by cgit