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>
This commit is contained in:
parent
8015ffef1e
commit
c43133c81e
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user