aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-12 16:55:42 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-12 16:55:42 -0800
commit0281e14fd66dc36dbc5a9dc75f375deb5ae5e245 (patch)
tree18091f57ba3d2485ad88910b87021c3c17464a32 /emcc
parent011d5e363105562c65d28be962a21d6e4dc2e411 (diff)
warning about -O3 in emcc
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/emcc b/emcc
index cd881eb4..3d02bd8a 100755
--- a/emcc
+++ b/emcc
@@ -314,6 +314,7 @@ elif use_compiler:
shared.Settings.I64_MODE = 0
shared.Settings.DOUBLE_MODE = 0
shared.Settings.DISABLE_EXCEPTION_CATCHING = 1
+ print >> sys.stderr, 'Warning: Applying some potentially unsafe optimizations! (Use -O2 if this fails.)'
# TODO: apply -s settings in newargs here (after -Ox, so they can override it)