diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-27 12:47:26 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-27 12:47:33 -0800 |
commit | b4605f200c14fefe6126d8e408edd00c15ac3280 (patch) | |
tree | ceda2fa7d2a8b26f28eda80a199883b0d97232cc /emcc | |
parent | 0a42984265e281db88521c8f5adce1558ededa66 (diff) |
run -globalopt when NO_EXIT_RUNTIME, to get rid of global initializers entirely in some cases
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1206,7 +1206,7 @@ try: fastcomp_opts = [] if shared.Settings.NO_EXIT_RUNTIME: - fastcomp_opts += ['-emscripten-no-exit-runtime', '-globaldce'] + fastcomp_opts += ['-emscripten-no-exit-runtime', '-globalopt'] fastcomp_opts += ['-pnacl-abi-simplify-preopt', '-pnacl-abi-simplify-postopt'] if shared.Settings.DISABLE_EXCEPTION_CATCHING != 1: fastcomp_opts += ['-enable-emscripten-cxx-exceptions'] |