From aaf4948dd54d417bcc1262258b7da02ab485c3a4 Mon Sep 17 00:00:00 2001 From: Jonathan Young Date: Mon, 15 May 2017 13:09:06 +1000 Subject: [PATCH] asm.js bx::flog2 requires PRECISE_F32. (#151) --- scripts/toolchain.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 99a8b3f..6239d65 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -1443,7 +1443,8 @@ function strip() -- .. "-s USE_WEBGL2=1 " .. "--memory-init-file 1 " .. "\"$(TARGET)\" -o \"$(TARGET)\".html " --- .. "--preload-file ../../../examples/runtime@/" +-- .. "--preload-file ../../../examples/runtime@/ " + .. "-s PRECISE_F32=1" } configuration { "riscv" }