diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-03 10:57:17 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-03 10:57:33 -0700 |
commit | e91ceb07780515b60568e81432a0ec0e0ce9f24b (patch) | |
tree | e2b9a4ff30b406ac8ec5664dca7a2140b57835f6 /emcc | |
parent | be93f604b8c5b529814efacd729455856e96ebf0 (diff) |
fix js_opts definition
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -933,7 +933,7 @@ try: if default_cxx_std: newargs = newargs + [default_cxx_std] - if js_opts is None: js_opts = True + if js_opts is None: js_opts = opt_level >= 1 if llvm_opts is None: llvm_opts = LLVM_OPT_LEVEL[opt_level] if llvm_lto is None and opt_level >= 3: llvm_lto = 3 if opt_level == 0: debug_level = 4 |