diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-19 10:47:36 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-19 11:21:51 -0700 |
commit | f173cd3457a8ed0689662afd7008b6c906a983c2 (patch) | |
tree | 073b8af8ce67f24de42ec27b0aea58724657a80f | |
parent | 8dc4fc973b3a938dadad13273196cd857b90030e (diff) |
disable asm.js when using embind
-rwxr-xr-x | emcc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1004,6 +1004,10 @@ try: if shared.Settings.ASM_JS: assert opt_level >= 1, 'asm.js requires -O1 or above' + if bind: + shared.Settings.ASM_JS = 0 + print >> sys.stderr, 'emcc: warning: disabling asm.js because it is not compatible with embind yet' + if closure: print >> sys.stderr, 'emcc: warning: disabling closure because it is not compatible with asm.js code generation' closure = False |