mirror of https://github.com/YosysHQ/yosys.git
parent
bbde241942
commit
b36060cc20
4
Makefile
4
Makefile
|
@ -281,13 +281,13 @@ yosys.html: misc/yosys.html
|
||||||
|
|
||||||
else ifeq ($(CONFIG),wasi)
|
else ifeq ($(CONFIG),wasi)
|
||||||
ifeq ($(WASI_SDK),)
|
ifeq ($(WASI_SDK),)
|
||||||
CXX = clang++
|
CXX = clang
|
||||||
LD = clang++
|
LD = clang++
|
||||||
AR = llvm-ar
|
AR = llvm-ar
|
||||||
RANLIB = llvm-ranlib
|
RANLIB = llvm-ranlib
|
||||||
WASIFLAGS := -target wasm32-wasi --sysroot $(WASI_SYSROOT) $(WASIFLAGS)
|
WASIFLAGS := -target wasm32-wasi --sysroot $(WASI_SYSROOT) $(WASIFLAGS)
|
||||||
else
|
else
|
||||||
CXX = $(WASI_SDK)/bin/clang++
|
CXX = $(WASI_SDK)/bin/clang
|
||||||
LD = $(WASI_SDK)/bin/clang++
|
LD = $(WASI_SDK)/bin/clang++
|
||||||
AR = $(WASI_SDK)/bin/ar
|
AR = $(WASI_SDK)/bin/ar
|
||||||
RANLIB = $(WASI_SDK)/bin/ranlib
|
RANLIB = $(WASI_SDK)/bin/ranlib
|
||||||
|
|
Loading…
Reference in New Issue