aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChristian Stewart <[email protected]>2024-05-04 16:44:44 -0700
committerRon Evans <[email protected]>2024-05-05 11:31:46 +0200
commit72f30ca6ec13b8c5eaa74e4881839fd7360f37ed (patch)
tree503fba736b307e5b9167a9b0b00c2b6eeaef0a0e
parent293b620faf0bed2c7dbacde0efe84ed22a76788d (diff)
downloadtinygo-72f30ca6ec13b8c5eaa74e4881839fd7360f37ed.tar.gz
tinygo-72f30ca6ec13b8c5eaa74e4881839fd7360f37ed.zip
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 <[email protected]>
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 379f6a7b2..5496cbb0c 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -166,7 +166,7 @@ LIB_NAMES = clang $(CLANG_LIB_NAMES) $(LLD_LIB_NAMES) $(EXTRA_LIB_NAMES)
# library path (for ninja).
# This list also includes a few tools that are necessary as part of the full
# TinyGo build.
-NINJA_BUILD_TARGETS = clang llvm-config llvm-ar llvm-nm $(addprefix lib/lib,$(addsuffix .a,$(LIB_NAMES)))
+NINJA_BUILD_TARGETS = clang llvm-config llvm-ar llvm-nm lld $(addprefix lib/lib,$(addsuffix .a,$(LIB_NAMES)))
# For static linking.
ifneq ("$(wildcard $(LLVM_BUILDDIR)/bin/llvm-config*)","")