aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
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)