summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tools/qmake/mkspecs/features/unix/default_post.prf2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/qmake/mkspecs/features/unix/default_post.prf b/Tools/qmake/mkspecs/features/unix/default_post.prf
index 9c524065d..fd66af670 100644
--- a/Tools/qmake/mkspecs/features/unix/default_post.prf
+++ b/Tools/qmake/mkspecs/features/unix/default_post.prf
@@ -31,6 +31,8 @@ linux-g++*:isEqual(QT_ARCH,i386) {
QMAKE_CXXFLAGS_DEBUG += -gstabs
QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO -= -g
QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += -gstabs
+ # Don't use the gold linker with stabs, it uses more memory and produces larger debug binaries.
+ CONFIG -= use_gold_linker
}
}