Turn on optimizations and disable debugging. Things should be working
authorPhilippe M. Chiasson <gozer@mozillamessaging.com>
Tue, 15 Jul 2008 16:36:03 -0400
changeset 151 3c4f452bde5baa68b13b2eef6ccf7f678811cf2b
parent 150 75b81e4c18859fe47a6f93d806280307fe5d7be0
child 152 8c39e9b2842e3b9db8650a962a4011f754f78c86
push id119
push usergozer@mozillamessaging.com
push dateTue, 15 Jul 2008 20:36:16 +0000
bugs422817
Turn on optimizations and disable debugging. Things should be working clean now, so it shouldn't be necessary anymore, and should speed builds up a little. Bug 422817.
thunderbird/mozconfig-common
thunderbird/mozconfig-linux
thunderbird/mozconfig-osx
thunderbird/mozconfig-win
--- a/thunderbird/mozconfig-common
+++ b/thunderbird/mozconfig-common
@@ -6,8 +6,11 @@ mk_add_options MOZ_CO_MODULE="mozilla/to
 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir
 
 ac_add_options --enable-application=mail
 
 ac_add_options --enable-tests
 ac_add_options --enable-shared
 ac_add_options --disable-static
 ac_add_options --enable-codesighs
+
+ac_add_options --enable-optimize
+ac_add_options --disable-debug
--- a/thunderbird/mozconfig-linux
+++ b/thunderbird/mozconfig-linux
@@ -1,13 +1,10 @@
 # Include the shared mozconfig
 . $topsrcdir/.mozconfig-common
 
 # symbols for breakpad
 export CFLAGS="-gstabs+"
 export CXXFLAGS="-gstabs+"
 
-ac_add_options --enable-debug
-ac_add_options --disable-optimize
-
 CC="ccache /tools/gcc-4.1.1/bin/gcc"
 CXX="ccache /tools/gcc-4.1.1/bin/g++"
 
--- a/thunderbird/mozconfig-osx
+++ b/thunderbird/mozconfig-osx
@@ -1,14 +1,11 @@
 # Include the shared mozconfig
 . $topsrcdir/.mozconfig-common
 
 # symbols for breakpad
 export CFLAGS="-gstabs+"
 export CXXFLAGS="-gstabs+"
 
-ac_add_options --enable-debug
-ac_add_options --disable-optimize
-
 ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk
 
 CC="ccache gcc"
 CXX="ccache g++"
--- a/thunderbird/mozconfig-win
+++ b/thunderbird/mozconfig-win
@@ -1,9 +1,4 @@
 # Include the shared mozconfig
 . $topsrcdir/.mozconfig-common
 
-mk_add_options MOZ_DEBUG_SYMBOLS=1
 ac_add_options --disable-vista-sdk-requirements
-
-ac_add_options --disable-debug
-# Add explicit optimize flags in configure.in, not here - see bug 407794
-ac_add_options --enable-optimize