aboutsummaryrefslogtreecommitdiff
path: root/emscripten.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-11-24 20:26:31 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-11-24 20:26:31 -0800
commit9bbf760f9e930cf937ed3c927873c11f6fc90f68 (patch)
tree2ab1b63b012a32130510e07033ad5e60da5aafcb /emscripten.py
parentb988457c13f77f50e03b4e46fbef4d5e42cfcf33 (diff)
support for ignoring nacl intrinsics
Diffstat (limited to 'emscripten.py')
-rwxr-xr-xemscripten.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py
index 40014d2f..55f00aee 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -796,7 +796,7 @@ def emscript_fast(infile, settings, outfile, libraries=[], compiler_engine=None,
if DEBUG: logging.debug('emscript: js compiler glue')
# Integrate info from backend
- settings['DEFAULT_LIBRARY_FUNCS_TO_INCLUDE'] = settings['DEFAULT_LIBRARY_FUNCS_TO_INCLUDE'] + metadata['declares']
+ settings['DEFAULT_LIBRARY_FUNCS_TO_INCLUDE'] = settings['DEFAULT_LIBRARY_FUNCS_TO_INCLUDE'] + map(shared.JS.to_nice_ident, metadata['declares'])
# Settings changes
assert settings['TARGET_LE32'] == 1