bug 477679 - default to -Ox for windows ce optimization flag r=ted
authorBrad Lassey <blassey@mozilla.com>
Mon, 09 Feb 2009 19:01:54 -0500
changeset 24801 4b02e2009b280048f829050632f4d504ca203b78
parent 24800 89ffe60a58ba7b16e4c5bc55be8fbbad33606794
child 24803 4119594ac66d4eda2bc80993ad7d7a5632fb6af1
push idunknown
push userunknown
push dateunknown
reviewersted
bugs477679
milestone1.9.2a1pre
bug 477679 - default to -Ox for windows ce optimization flag r=ted
configure.in
--- a/configure.in
+++ b/configure.in
@@ -1961,17 +1961,17 @@ case "$target" in
     HOST_CXX=cl
     HOST_LD=link
     HOST_AR='lib -OUT:$@'
     HOST_RANLIB='echo ranlib'
     HOST_CFLAGS="$HOST_CFLAGS -D_X86_"
         
         
     WARNINGS_AS_ERRORS='-WX'
-	MOZ_OPTIMIZE_FLAGS='-O1'
+    MOZ_OPTIMIZE_FLAGS='-Ox'
     AR_FLAGS='-NOLOGO -OUT:"$@"'
     ASM_SUFFIX=asm
     CFLAGS="$CFLAGS -W3 -Gy -Fd\$(COMPILE_PDBFILE)"
     CXXFLAGS="$CXXFLAGS -W3 -Gy -Fd\$(COMPILE_PDBFILE)"
     DLL_PREFIX=
     DOXYGEN=:
     DSO_LDOPTS=-SUBSYSTEM:WINDOWSCE
     DYNAMIC_XPCOM_LIBS='$(LIBXUL_DIST)/lib/xpcom.lib $(LIBXUL_DIST)/lib/xpcom_core.lib'