qt5base-lts/mkspecs/features/no_debug_info.prf
Allan Sandfeld Jensen c43133c81e 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>
2014-12-05 14:51:33 +01:00

15 lines
403 B
Plaintext

win32-msvc2*|wince*msvc* {
QMAKE_CFLAGS -= -Zi
QMAKE_CFLAGS_DEBUG -= -Zi
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO -= -Zi
QMAKE_CXXFLAGS -= -Zi
QMAKE_CXXFLAGS_DEBUG -= -Zi
QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO -= -Zi
} else {
QMAKE_CFLAGS -= -g -ggdb3 -gstabs
QMAKE_CXXFLAGS -= -g -ggdb3 -gstabs
QMAKE_LFLAGS -= -g -ggdb3 -gstabs
QMAKE_LIBFLAGS -= -g -ggdb3 -gstabs
}