aboutsummaryrefslogtreecommitdiffhomepage
path: root/GNUmakefile
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2023-10-15 15:46:09 +0200
committerRon Evans <[email protected]>2023-10-15 17:51:13 +0200
commit4d4ccddad8ebb1be5246ec889f1ce3a9b9cf9e9e (patch)
tree73106601a5d285b8b38fb68592ca573f783b74f3 /GNUmakefile
parentf55f5315ccc547cfa32bc7c39392c90c3eb2ea97 (diff)
downloadtinygo-4d4ccddad8ebb1be5246ec889f1ce3a9b9cf9e9e.tar.gz
tinygo-4d4ccddad8ebb1be5246ec889f1ce3a9b9cf9e9e.zip
nix: support `make wasi-libc` on MacOS
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 7a93a1ef4..433356596 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -25,11 +25,6 @@ CLANG ?= $(call findLLVMTool,clang)
LLVM_AR ?= $(call findLLVMTool,llvm-ar)
LLVM_NM ?= $(call findLLVMTool,llvm-nm)
-# Patch up Clang for Nix.
-ifneq (, ${CLANG_RESOURCE_DIR})
- CLANG := $(CLANG) -resource-dir ${CLANG_RESOURCE_DIR}
-endif
-
# Go binary and GOROOT to select
GO ?= go
export GOROOT = $(shell $(GO) env GOROOT)