From ad403390923bdaf15cec3cced822d09652953b89 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 7 May 2015 11:01:24 -0700 Subject: [PATCH] always include precise i64 code in shared modules --- emcc | 1 + 1 file changed, 1 insertion(+) diff --git a/emcc b/emcc index 2d0f16a74..4f79e5879 100755 --- a/emcc +++ b/emcc @@ -942,6 +942,7 @@ try: shared.Settings.LINKABLE = 1 # TODO: add FORCE_DCE option for the brave people that do want to dce here and in side modules debug_level = max(debug_level, 2) shared.Settings.RELOCATABLE = 1 + shared.Settings.PRECISE_I64_MATH = 1 # other might use precise math, we need to be able to print it if shared.Settings.EMULATE_FUNCTION_POINTER_CASTS: shared.Settings.ALIASING_FUNCTION_POINTERS = 0