win: Do not use link time code generation

It causes problems on Windows
This commit is contained in:
Cheng Zhao 2015-04-09 14:39:52 +08:00
parent a8eb750efa
commit 62e9452831

View file

@ -71,7 +71,6 @@
'GenerateDebugInformation': 'true', 'GenerateDebugInformation': 'true',
'MapFileName': '$(OutDir)\\$(TargetName).map', 'MapFileName': '$(OutDir)\\$(TargetName).map',
'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib', 'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib',
'LinkTimeCodeGeneration': 'true', # /LTCG
'AdditionalOptions': [ 'AdditionalOptions': [
# ATL 8.0 included in WDK 7.1 makes the linker to generate # ATL 8.0 included in WDK 7.1 makes the linker to generate
# following # following
@ -192,7 +191,6 @@
'VCCLCompilerTool': { 'VCCLCompilerTool': {
'Optimization': '2', # 2 = /Os 'Optimization': '2', # 2 = /Os
'FavorSizeOrSpeed': '1', # 1 = /Ot 'FavorSizeOrSpeed': '1', # 1 = /Ot
'WholeProgramOptimization': 'true',
# See http://msdn.microsoft.com/en-us/library/47238hez(VS.71).aspx # See http://msdn.microsoft.com/en-us/library/47238hez(VS.71).aspx
'InlineFunctionExpansion': '2', # 2 = max 'InlineFunctionExpansion': '2', # 2 = max
# See http://msdn.microsoft.com/en-us/library/2kxx5t2c(v=vs.80).aspx # See http://msdn.microsoft.com/en-us/library/2kxx5t2c(v=vs.80).aspx