msvc: enable unreferenced code elimination in release with debuginfo builds
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Wed, 3 Nov 2010 10:47:17 +0000 (11:47 +0100)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Wed, 3 Nov 2010 14:09:14 +0000 (15:09 +0100)
commitfc60eb64d38289b448f73889139c94895b74db1a
treeffd88218bf39be7d87c4e668080eeccbfd0e9fad
parente890821c3c1042f425643facbbbb0e036f5304b6
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
mkspecs/win32-msvc2003/qmake.conf
mkspecs/win32-msvc2005/qmake.conf
mkspecs/win32-msvc2008/qmake.conf
mkspecs/win32-msvc2010/qmake.conf