diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-22 10:46:10 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-22 10:46:10 -0700 |
commit | e22176211cd8fe4fd4e13a336abcf93dd4d26723 (patch) | |
tree | 3629911998af8feeb45a9879d3fd684733a6ebda | |
parent | 890f3b582e4c1a7f62a748765ec082cd67dddeba (diff) |
require -O2 in asm, for now
-rwxr-xr-x | emcc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -993,6 +993,8 @@ try: # Apply effects from settings if shared.Settings.ASM_JS: + assert opt_level == 2, 'asm.js requires -O2' + if closure: print >> sys.stderr, 'emcc: warning: disabling closure because it is not compatible with asm.js code generation' closure = False |