projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbde241
)
Fix WASI builds with abc enabled.
author
whitequark
<whitequark@whitequark.org>
Fri, 1 May 2020 23:57:35 +0000
(23:57 +0000)
committer
whitequark
<whitequark@whitequark.org>
Fri, 1 May 2020 23:57:35 +0000
(23:57 +0000)
This PR works around #2011.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 47de420b857917d8bd686b4248002887d424ca14..1f8ffdc4728ede3a6e56a5f0f5fa0e81ea6d518a 100644
(file)
--- 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