aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-15 17:10:22 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-03-15 17:10:22 -0700
commit314a0b90f1e0cacd8400dbc994818d3a32fc493c (patch)
tree2f11dd71d505e48012e7df8e55ce9c10850db140 /tools/shared.py
parent27d1a249622d33ab8aff2814d13569507336873b (diff)
mark UTF_STRING_SUPPORT as an unsafe but useful opt, in -O3
Diffstat (limited to 'tools/shared.py')
-rw-r--r--tools/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 81a8e053..7fc0421a 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -555,6 +555,7 @@ class Settings:
# Aside from these, -O3 also runs closure compiler and llvm lto
Settings.DOUBLE_MODE = 0
Settings.PRECISE_I64_MATH = 0
+ Settings.UTF_STRING_SUPPORT = 0
if noisy: print >> sys.stderr, 'Warning: Applying some potentially unsafe optimizations! (Use -O2 if this fails.)'
global Settings