mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 07:23:39 +00:00
nix: support make wasi-libc on MacOS
This commit is contained in:
committed by
Ron Evans
parent
f55f5315cc
commit
4d4ccddad8
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user