Ver código fonte

asm.js bx::flog2 requires PRECISE_F32. (#151)

Jonathan Young 8 anos atrás
pai
commit
aaf4948dd5
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      scripts/toolchain.lua

+ 2 - 1
scripts/toolchain.lua

@@ -1443,7 +1443,8 @@ function strip()
 --				.. "-s USE_WEBGL2=1 "
 --				.. "-s USE_WEBGL2=1 "
 				.. "--memory-init-file 1 "
 				.. "--memory-init-file 1 "
 				.. "\"$(TARGET)\" -o \"$(TARGET)\".html "
 				.. "\"$(TARGET)\" -o \"$(TARGET)\".html "
---				.. "--preload-file ../../../examples/runtime@/"
+--				.. "--preload-file ../../../examples/runtime@/ "
+				.. "-s PRECISE_F32=1"
 		}
 		}
 
 
 	configuration { "riscv" }
 	configuration { "riscv" }