diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-11-03 11:47:17 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-11-03 15:09:14 +0100 |
commit | fc60eb64d38289b448f73889139c94895b74db1a (patch) | |
tree | ffd88218bf39be7d87c4e668080eeccbfd0e9fad /mkspecs/win32-msvc2003 | |
parent | e890821c3c1042f425643facbbbb0e036f5304b6 (diff) | |
download | qt4-tools-fc60eb64d38289b448f73889139c94895b74db1a.tar.gz |
msvc: enable unreferenced code elimination in release with debuginfo builds
that linker optimization is on by default in release builds, so override
/DEBUG implicitly turning it off. as it happens, this implicitly
disables incremental linking, so that option can go away now.
Reviewed-by: joerg
Task-number: QTBUG-14007
Diffstat (limited to 'mkspecs/win32-msvc2003')
-rw-r--r-- | mkspecs/win32-msvc2003/qmake.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/win32-msvc2003/qmake.conf b/mkspecs/win32-msvc2003/qmake.conf index 63d1ffda90..a573a4dd8c 100644 --- a/mkspecs/win32-msvc2003/qmake.conf +++ b/mkspecs/win32-msvc2003/qmake.conf @@ -53,7 +53,7 @@ QMAKE_RUN_CXX_IMP_BATCH = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<< QMAKE_LINK = link QMAKE_LFLAGS = /NOLOGO QMAKE_LFLAGS_RELEASE = /INCREMENTAL:NO -QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO = /INCREMENTAL:NO /DEBUG +QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO = /DEBUG /OPT:REF QMAKE_LFLAGS_DEBUG = /DEBUG QMAKE_LFLAGS_CONSOLE = /SUBSYSTEM:CONSOLE QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS |