From b36060cc200dcad38693479ebfd074c353fc85d5 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 1 May 2020 23:57:35 +0000 Subject: [PATCH] Fix WASI builds with abc enabled. This PR works around #2011. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2