aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatherine <whitequark@whitequark.org>2022-07-07 08:06:55 +0000
committerCatherine <whitequark@whitequark.org>2022-07-07 08:06:55 +0000
commit43d86f2c26e2950b1b08dd46a324582668bbcf57 (patch)
treed0fba47ab93d6d3077b659ad7cf657a3d2535a49
parent09c6fc68c7538306f10794e6456c74815ec9e570 (diff)
downloadyosys-43d86f2c26e2950b1b08dd46a324582668bbcf57.tar.gz
yosys-43d86f2c26e2950b1b08dd46a324582668bbcf57.tar.bz2
yosys-43d86f2c26e2950b1b08dd46a324582668bbcf57.zip
Fix WASI build after commit 0ca0932b5.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index debc9eccd..84937d2e7 100644
--- a/Makefile
+++ b/Makefile
@@ -314,7 +314,7 @@ CXXFLAGS := $(WASIFLAGS) -std=$(CXXSTD) -Os $(filter-out -fPIC,$(CXXFLAGS))
LDFLAGS := $(WASIFLAGS) -Wl,-z,stack-size=1048576 $(filter-out -rdynamic,$(LDFLAGS))
LDLIBS := $(filter-out -lrt,$(LDLIBS))
ABCMKARGS += AR="$(AR)" RANLIB="$(RANLIB)"
-ABCMKARGS += ARCHFLAGS="$(WASIFLAGS) -DABC_USE_STDINT_H -DABC_NO_DYNAMIC_LINKING"
+ABCMKARGS += ARCHFLAGS="$(WASIFLAGS) -DABC_USE_STDINT_H -DABC_NO_DYNAMIC_LINKING -Wno-c++11-narrowing"
ABCMKARGS += OPTFLAGS="-Os"
EXE = .wasm