diff options
-rwxr-xr-x | emscripten.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emscripten.py b/emscripten.py index 907e88ce..3866d14e 100755 --- a/emscripten.py +++ b/emscripten.py @@ -814,6 +814,8 @@ def emscript_fast(infile, settings, outfile, libraries=[], compiler_engine=None, # Settings changes assert settings['TARGET_LE32'] == 1 settings['TARGET_LE32'] = 2 + if '_i64Add' in metadata['declares']: # TODO: others, once we split them up + settings['PRECISE_I64_MATH'] = 2 # Save settings to a file to work around v8 issue 1579 settings_file = temp_files.get('.txt').name |