fixed wasm compatibility

This commit is contained in:
Walter Oggioni
2019-04-27 10:59:39 +01:00
parent 0127bbee0b
commit b0a890a85b
6 changed files with 115 additions and 16 deletions

View File

@@ -15,10 +15,10 @@
cpu = "i386"
@if wasm:
passC = "-s WASM=1 -Iemscripten"
passL = "-s WASM=1 -Lemscripten -s ALLOW_MEMORY_GROWTH=1 "
passL = "-s WASM=1 -Lemscripten -s ALLOW_MEMORY_GROWTH=1"
@elif asmjs:
passC = "-s ASM_JS=1 -Iemscripten" #-s USE_PTHREADS=1
passL = "-s ASM_JS=1 -Lemscripten" #-s ALLOW_MEMORY_GROWTH=1"
passC = "-s ASM_JS=1 -Iemscripten"
passL = "-s ASM_JS=1 -Lemscripten"
@end
@if release: