summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-12-03 11:18:16 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2014-12-05 14:51:33 +0100
commitc43133c81ea9abc10b42f1bd46c756167cad35d3 (patch)
tree5cc2bce81b41858e11f1e569c54be8cfa19e902a
parent8015ffef1ea1f2745d6554b2bc57d150439292b3 (diff)
Make no_debug_info also strip out -gstabs
Since QtWebKit started using stabs on some platforms to reducing memory pressure during linking, the tricks to strip out debug-info in the internals no longer worked because no-debug-info doesn't strip the -gstabs compiler and linker flags. Change-Id: I151088f29058b8fe50cba9aa3ec8ecd84b85d7d8 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-rw-r--r--mkspecs/features/no_debug_info.prf8
1 files changed, 4 insertions, 4 deletions
diff --git a/mkspecs/features/no_debug_info.prf b/mkspecs/features/no_debug_info.prf
index e05410d491..1307679a39 100644
--- a/mkspecs/features/no_debug_info.prf
+++ b/mkspecs/features/no_debug_info.prf
@@ -7,8 +7,8 @@ win32-msvc2*|wince*msvc* {
QMAKE_CXXFLAGS_DEBUG -= -Zi
QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO -= -Zi
} else {
- QMAKE_CFLAGS -= -g -ggdb3
- QMAKE_CXXFLAGS -= -g -ggdb3
- QMAKE_LFLAGS -= -g -ggdb3
- QMAKE_LIBFLAGS -= -g -ggdb3
+ QMAKE_CFLAGS -= -g -ggdb3 -gstabs
+ QMAKE_CXXFLAGS -= -g -ggdb3 -gstabs
+ QMAKE_LFLAGS -= -g -ggdb3 -gstabs
+ QMAKE_LIBFLAGS -= -g -ggdb3 -gstabs
}