mirror of https://github.com/YosysHQ/yosys.git
Fix WASI compilation flags for abc.
This commit is contained in:
parent
726c501e7e
commit
c11744b4ef
2
Makefile
2
Makefile
|
@ -325,7 +325,7 @@ CXXFLAGS := $(WASIFLAGS) -std=$(CXXSTD) -Os -D_WASI_EMULATED_PROCESS_CLOCKS $(fi
|
|||
LDFLAGS := $(WASIFLAGS) -Wl,-z,stack-size=1048576 $(filter-out -rdynamic,$(LDFLAGS))
|
||||
LDLIBS := -lwasi-emulated-process-clocks $(filter-out -lrt,$(LDLIBS))
|
||||
ABCMKARGS += AR="$(AR)" RANLIB="$(RANLIB)"
|
||||
ABCMKARGS += ARCHFLAGS="$(WASIFLAGS) -DABC_USE_STDINT_H -DABC_NO_DYNAMIC_LINKING -DABC_NO_RLIMIT -Wno-c++11-narrowing"
|
||||
ABCMKARGS += ARCHFLAGS="$(WASIFLAGS) -D_WASI_EMULATED_PROCESS_CLOCKS -DABC_USE_STDINT_H -DABC_NO_DYNAMIC_LINKING -DABC_NO_RLIMIT -Wno-c++11-narrowing"
|
||||
ABCMKARGS += OPTFLAGS="-Os"
|
||||
EXE = .wasm
|
||||
|
||||
|
|
Loading…
Reference in New Issue