diff options
| author | jiegec <noc@jiegec.ac.cn> | 2020-03-11 23:01:04 +0800 |
|---|---|---|
| committer | jiegec <noc@jiegec.ac.cn> | 2020-03-11 23:01:04 +0800 |
| commit | 26137d8bb70cea1f2de16346e883ec5c43754145 (patch) | |
| tree | 6827be0f104a347e031a38cd0737bfba547e8e3c | |
| parent | 7b679eecb334e1f52bdf5878118ba2631835b8b3 (diff) | |
| download | yosys-26137d8bb70cea1f2de16346e883ec5c43754145.tar.gz yosys-26137d8bb70cea1f2de16346e883ec5c43754145.tar.bz2 yosys-26137d8bb70cea1f2de16346e883ec5c43754145.zip | |
Add EXTRA_EXPORTED_RUNTIME_METHODS env for yosysjs
| -rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -238,6 +238,7 @@ EMCCFLAGS := -Os -Wno-warn-absolute-paths EMCCFLAGS += --memory-init-file 0 --embed-file share -s NO_EXIT_RUNTIME=1 EMCCFLAGS += -s EXPORTED_FUNCTIONS="['_main','_run','_prompt','_errmsg']" EMCCFLAGS += -s TOTAL_MEMORY=134217728 +EMCCFLAGS += -s EXTRA_EXPORTED_RUNTIME_METHODS='["ccall", "cwrap"]' # https://github.com/kripken/emscripten/blob/master/src/settings.js CXXFLAGS += $(EMCCFLAGS) LDFLAGS += $(EMCCFLAGS) |
