summaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorOphir LOJKINE <pere.jobs@gmail.com>2014-05-19 23:21:21 +0200
committerOphir LOJKINE <pere.jobs@gmail.com>2014-05-19 23:21:21 +0200
commitea01df8b734fb59c8dd435b3c3a7c0aa77a9b08f (patch)
treebbb0594d17fa7e6d9fd435dff33608465164923d /emcc
parentba00e71ac68819df214fdfc57dda71c5bb58e887 (diff)
parentf681994208ed73f7642e5658ba9482c1743f0f35 (diff)
Merge remote-tracking branch 'upstream/incoming' into fast-cwrap
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 2 insertions, 0 deletions
diff --git a/emcc b/emcc
index 1629f5c7..2dc525af 100755
--- a/emcc
+++ b/emcc
@@ -1223,6 +1223,8 @@ try:
value = '"@' + os.path.abspath(value[1:]) + '"'
value = value.replace('\\\\', '/').replace('\\', '/') # Convert backslash paths to forward slashes on Windows as well, since the JS compiler otherwise needs the backslashes escaped (alternative is to escape all input paths passing to JS, which feels clumsier to read)
exec('shared.Settings.' + key + ' = ' + value)
+ if key == 'EXPORTED_FUNCTIONS':
+ shared.Settings.ORIGINAL_EXPORTED_FUNCTIONS = shared.Settings.EXPORTED_FUNCTIONS[:] # used for warnings in emscripten.py
fastcomp = os.environ.get('EMCC_FAST_COMPILER') != '0'