From c20328472b6a8b4033ab0fe36083dde10b58f998 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Sat, 31 Oct 2020 23:31:54 +0100 Subject: [PATCH] make: fixes error detecting llvm-nm tool for wasi-libc build Signed-off-by: deadprogram --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a09b5266..4eb29fca 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ LLD_SRC ?= $(LLVM_PROJECTDIR)/lld detect = $(shell command -v $(1) 2> /dev/null && echo $(1)) CLANG ?= $(word 1,$(abspath $(call detect,llvm-build/bin/clang))$(call detect,clang-11)$(call detect,clang-10)$(call detect,clang)) LLVM_AR ?= $(word 1,$(abspath $(call detect,llvm-build/bin/llvm-ar))$(call detect,llvm-ar-11)$(call detect,llvm-ar-10)$(call detect,llvm-ar)) -LLVM_NM ?= $(word 1,$(abspath $(call detect,llvm-build/bin/llvm-nm))$(call detect,llvm-ar-11)$(call detect,llvm-ar-10)$(call detect,llvm-ar)) +LLVM_NM ?= $(word 1,$(abspath $(call detect,llvm-build/bin/llvm-nm))$(call detect,llvm-nm-11)$(call detect,llvm-nm-10)$(call detect,llvm-nm)) # Go binary and GOROOT to select GO ?= go