From: whitequark Date: Fri, 1 May 2020 23:57:35 +0000 (+0000) Subject: Fix WASI builds with abc enabled. X-Git-Tag: working-ls180~569^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b36060cc200dcad38693479ebfd074c353fc85d5;p=yosys.git Fix WASI builds with abc enabled. This PR works around #2011. --- diff --git a/Makefile b/Makefile index 47de420b8..1f8ffdc47 100644 --- a/Makefile +++ b/Makefile @@ -281,13 +281,13 @@ yosys.html: misc/yosys.html else ifeq ($(CONFIG),wasi) ifeq ($(WASI_SDK),) -CXX = clang++ +CXX = clang LD = clang++ AR = llvm-ar RANLIB = llvm-ranlib WASIFLAGS := -target wasm32-wasi --sysroot $(WASI_SYSROOT) $(WASIFLAGS) else -CXX = $(WASI_SDK)/bin/clang++ +CXX = $(WASI_SDK)/bin/clang LD = $(WASI_SDK)/bin/clang++ AR = $(WASI_SDK)/bin/ar RANLIB = $(WASI_SDK)/bin/ranlib