diff --git a/engine/Makefile b/engine/Makefile index 812072505..d940dcb4c 100644 --- a/engine/Makefile +++ b/engine/Makefile @@ -1119,8 +1119,9 @@ endif ifeq ($(FTE_TARGET),web) WEB_PREJS ?= --pre-js web/prejs.js - WEB_MEMORY?=402653184 #384mb +# WEB_MEMORY?=402653184 #384mb ASMJS_MEMORY?=536870912 #512mb (required for asm.js) + WEB_MEMORY?=$(ASMJS_MEMORY) RELEASE_CFLAGS=-DOMIT_QCC -DGL_STATIC -DFTE_TARGET_WEB DEBUG_CFLAGS=-g --jcache -DOMIT_QCC -DGL_STATIC -DFTE_TARGET_WEB # RELEASE_LDFLAGS=-s ASM_JS=1 -O2 $(WEB_PREJS) -s TOTAL_MEMORY=$(ASMJS_MEMORY) --js-library web/ftejslib.js --shell-file web/fteshell.html