ref: 2ffba472e12b70383b8ea14d6974bab37cbd98c8
parent: 438b22bd807d2134c1436cb3d0b247476d3a4eac
author: Lennart Augustsson <lennart.augustsson@epicgames.com>
date: Fri Feb 23 08:53:20 EST 2024
Make emscripten flags compatible with older versions
--- a/Makefile.emscripten
+++ b/Makefile.emscripten
@@ -1,5 +1,5 @@
TMHS=./bin/mhs -itests
-CC=emcc -sALLOW_MEMORY_GROWTH -sSTACK_SIZE=5MB
+CC=emcc -sALLOW_MEMORY_GROWTH -sTOTAL_STACK=5MB
NODE=node
CONF=unix-64
.PHONY: test
@@ -43,4 +43,4 @@
CC='$(CC)' $(TMHS) Info -otests/Info.js && $(NODE) tests/Info.js
clean:
- rm -f tests/*.out tests/*.tmp tests/*.js
+ rm -f tests/*.out tests/*.tmp tests/*.js tests/*.wasm
--
⑨