Skip to content

Commit 72f30ca

Browse files
paralindeadprogram
authored andcommitted
Makefile: add lld to list of build targets for wasm-ld
The current list of targets does not build wasm-ld. wasm-ld is a symlink created in ./llvm-build/bin pointing to ./lld. Add the "lld" build target to get wasm-ld into ./llvm-build/bin. Fixes a build failure where wasm-ld is not found. Signed-off-by: Christian Stewart <christian@aperture.us>
1 parent 293b620 commit 72f30ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ LIB_NAMES = clang $(CLANG_LIB_NAMES) $(LLD_LIB_NAMES) $(EXTRA_LIB_NAMES)
166166
# library path (for ninja).
167167
# This list also includes a few tools that are necessary as part of the full
168168
# TinyGo build.
169-
NINJA_BUILD_TARGETS = clang llvm-config llvm-ar llvm-nm $(addprefix lib/lib,$(addsuffix .a,$(LIB_NAMES)))
169+
NINJA_BUILD_TARGETS = clang llvm-config llvm-ar llvm-nm lld $(addprefix lib/lib,$(addsuffix .a,$(LIB_NAMES)))
170170

171171
# For static linking.
172172
ifneq ("$(wildcard $(LLVM_BUILDDIR)/bin/llvm-config*)","")

0 commit comments

Comments
 (0)