summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-07-22 11:16:35 (GMT)
committerhjk <qtc-committer@nokia.com>2010-07-22 11:40:36 (GMT)
commit6240f4a990d2f0b4a4b24c823f8875ca3b8226a4 (patch)
tree74c1beaeca8447fdaef8f7d7ec5469f4e50421ee
parent2da1f6dd814381fde2a365a328de49761c507b3b (diff)
downloadQt-6240f4a990d2f0b4a4b24c823f8875ca3b8226a4.zip
Qt-6240f4a990d2f0b4a4b24c823f8875ca3b8226a4.tar.gz
Qt-6240f4a990d2f0b4a4b24c823f8875ca3b8226a4.tar.bz2
Switch the default value for configure's -separate-debug-info to "no".
The "yes" case slows us down on several occasions: (a) the CRC version used slows down loading debug info when debugging a Qt application significantly, (b) it does not work wit gdb 7.2's dwarf indexing (again, much slower startup), and (c) (less important) the stripping takes extra time for each of us when building Qt. The flag is still supported for distributions or individuals that want to use it. Reviewed-by: brad
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index b92a3f7..ae23509 100755
--- a/configure
+++ b/configure
@@ -733,7 +733,7 @@ CFG_OPENSSL=auto
CFG_PTMALLOC=no
CFG_STL=auto
CFG_PRECOMPILE=auto
-CFG_SEPARATE_DEBUG_INFO=auto
+CFG_SEPARATE_DEBUG_INFO=no
CFG_SEPARATE_DEBUG_INFO_NOCOPY=no
CFG_REDUCE_EXPORTS=auto
CFG_MMX=auto
@@ -2307,7 +2307,7 @@ fi
if [ "$PLATFORM_X11" = "yes" -o "$PLATFORM_QWS" = "yes" ] && [ "$CFG_DEBUG_RELEASE" = "yes" ]; then
echo
echo "WARNING: -debug-and-release is not supported anymore on Qt/X11 and Qt for Embedded Linux"
- echo "By default, Qt is built in release mode with separate debug information, so"
+ echo "Qt can be built in release mode with separate debug information, so"
echo "-debug-and-release is not necessary anymore"
echo
fi