projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3123c45
)
Using static mem size of 128 MB in emcc build
author
Clifford Wolf
<clifford@clifford.at>
Sat, 20 Jun 2015 06:58:02 +0000
(08:58 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 20 Jun 2015 06:58:02 +0000
(08:58 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 3c1344180f39c1b5369721f5e0dbd5a32774105b..25216369af55e9e9adfd9260345b4d320d52dc38 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-99,7
+99,7
@@
CXXFLAGS := -std=c++11 $(filter-out -fPIC -ggdb,$(CXXFLAGS))
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
DISABLE_EXCEPTION_CATCHING=0 -s ALLOW_MEMORY_GROWTH=1
+EMCCFLAGS += -s
TOTAL_MEMORY=128*1024*1024
# https://github.com/kripken/emscripten/blob/master/src/settings.js
CXXFLAGS += $(EMCCFLAGS)
LDFLAGS += $(EMCCFLAGS)