From: Robert Ou Date: Sat, 31 Mar 2018 21:50:21 +0000 (-0700) Subject: Force abc to be linked statically and without threads in emscripten X-Git-Tag: yosys-0.8~89^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9ef793430cf6bec2daeed20fbe44c3b060c435a;p=yosys.git Force abc to be linked statically and without threads in emscripten --- diff --git a/Makefile b/Makefile index b664cafc4..1a17bb857 100644 --- a/Makefile +++ b/Makefile @@ -178,6 +178,11 @@ EXE = .js TARGETS := $(filter-out yosys-config,$(TARGETS)) EXTRA_TARGETS += yosysjs-$(YOSYS_VER).zip +ifeq ($(ENABLE_ABC),1) +LINK_ABC := 1 +DISABLE_ABC_THREADS := 1 +endif + viz.js: wget -O viz.js.part https://github.com/mdaines/viz.js/releases/download/0.0.3/viz.js mv viz.js.part viz.js