Skip to content

Commit

Permalink
Decrease memory demand, allow running on mobile phones too
Browse files Browse the repository at this point in the history
  • Loading branch information
kovzol committed Jan 12, 2022
1 parent c80aabb commit 01dd2e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ CXXFLAGS := -s EXPORTED_FUNCTIONS=[_bibref_wasm] -s EXTRA_EXPORTED_RUNTIME_METHO
LDFLAGS := $(shell find .. -name libsword.a | sort | head -1)
LDFLAGS += -s SINGLE_FILE=1 -s USE_BOOST_HEADERS=1
LDFLAGS += -s ALLOW_MEMORY_GROWTH=1
LDFLAGS += -s TOTAL_MEMORY=2047MB
# LDFLAGS += -s TOTAL_MEMORY=2047MB
LDFLAGS += --preload-file ~/.sword@/ -O3
LDFLAGS += -fexceptions -s EXTRA_EXPORTED_RUNTIME_METHODS=['cwrap']
ifeq ($(TARGET_HTML),bibref.js)
Expand Down

0 comments on commit 01dd2e7

Please sign in to comment.