[Bug 430617] Optimized shell uses the same options as the the non-debug browser build. r=mrbkap, not-part-of-browser-build
authorIgor Bukanov <igor@mir2.org>
Tue, 08 Jul 2008 11:15:43 +0200
changeset 15716 c91b477f79b7c41156054644028c9491d8b3c3d8
parent 15715 9da8390f7d46d9684fcfd2e72b183cee476fc406
child 15717 d827cf877fd486e2488f6aa884d177793266de28
push id442
push useribukanov@mozilla.com
push dateTue, 08 Jul 2008 09:15:51 +0000
treeherdermozilla-central@c91b477f79b7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmrbkap, not-part-of-browser-build
bugs430617
milestone1.9.1a1pre
[Bug 430617] Optimized shell uses the same options as the the non-debug browser build. r=mrbkap, not-part-of-browser-build
js/src/config.mk
--- a/js/src/config.mk
+++ b/js/src/config.mk
@@ -122,17 +122,17 @@ endif
 
 ifdef BUILD_OPT
 ifdef USE_MSVC
 OPTIMIZER  = -O2 -GL
 INTERP_OPTIMIZER = -O2 -GL
 LDFLAGS    += -LTCG
 else
 OPTIMIZER  = -Os -fno-exceptions -fno-rtti
-INTERP_OPTIMIZER = -Os -fno-exceptions -fno-rtti
+INTERP_OPTIMIZER = -O3 -fstrict-aliasing -fno-exceptions -fno-rtti
 endif
 DEFINES    += -UDEBUG -DNDEBUG -UDEBUG_$(USER)
 OBJDIR_TAG = _OPT
 else
 ifdef USE_MSVC
 OPTIMIZER  = -Zi
 INTERP_OPTIMIZER = -Zi
 else