Fix uninitialized VCLinkerTool::DebugInfoOption

Due to that uninitialized variable /DEBUG:FASTLINK ended up in vcxproj
files for VS < 2015. However, that option is supported by VS >= 2015
only.

Task-number: QTBUG-59630
Change-Id: I34d9eef1a3bf2262bac48962938afe84eb7de934
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
Joerg Bornemann 2017-03-22 14:29:37 +01:00
parent b1a7a7b250
commit 02d9225db5

View File

@ -1216,6 +1216,7 @@ VCLinkerTool::VCLinkerTool()
: DataExecutionPrevention(unset),
EnableCOMDATFolding(optFoldingDefault),
GenerateDebugInformation(unset),
DebugInfoOption(linkerDebugOptionNone),
GenerateMapFile(unset),
HeapCommitSize(-1),
HeapReserveSize(-1),