nix: support make wasi-libc on MacOS

This commit is contained in:
Ayke van Laethem
2023-10-15 15:46:09 +02:00
committed by Ron Evans
parent f55f5315cc
commit 4d4ccddad8
2 changed files with 9 additions and 8 deletions
-5
View File
@@ -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)