diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2015-10-23 09:52:40 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2015-10-23 09:52:40 +0800 |
commit | 03e60dc1c1f94345ed92aca4d9a6a2f17e48f690 (patch) | |
tree | 2a1c625355d15f7e3dd3f8fa3ea24b40b569d163 /build/win32/vs10/pango.vcxprojin | |
parent | 39c8cfcc614f8901d347a047b3295a06082cbfee (diff) | |
download | pango-03e60dc1c1f94345ed92aca4d9a6a2f17e48f690.tar.gz |
MSVC release builds: Ensure that /LTCG is used
MSVC 2015 changed its default link-time code generation setting to
/LTCG:incremental, which causes problems if /opt:noref is to be used,
meaning that some code will be optimized out by the linker.
Avoid this situtation here by enforcing the use of /LTCG for MSVC 2010+
builds.
Diffstat (limited to 'build/win32/vs10/pango.vcxprojin')
-rw-r--r-- | build/win32/vs10/pango.vcxprojin | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/build/win32/vs10/pango.vcxprojin b/build/win32/vs10/pango.vcxprojin index e24b4ca1..093c20cf 100644 --- a/build/win32/vs10/pango.vcxprojin +++ b/build/win32/vs10/pango.vcxprojin @@ -87,9 +87,9 @@ <Link> <OutputFile>$(OutDir)$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll</OutputFile> <ModuleDefinitionFile>..\..\..\pango\pango.def</ModuleDefinitionFile> + <ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary> <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Windows</SubSystem> - <ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary> <TargetMachine>MachineX86</TargetMachine> </Link> </ItemDefinitionGroup> @@ -104,12 +104,13 @@ </ClCompile> <Link> <OutputFile>$(OutDir)$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll</OutputFile> + <ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary> <ModuleDefinitionFile>..\..\..\pango\pango.def</ModuleDefinitionFile> <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Windows</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> - <ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary> + <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration> <TargetMachine>MachineX86</TargetMachine> </Link> </ItemDefinitionGroup> @@ -128,9 +129,9 @@ <Link> <OutputFile>$(OutDir)$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll</OutputFile> <ModuleDefinitionFile>..\..\..\pango\pango.def</ModuleDefinitionFile> + <ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary> <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Windows</SubSystem> - <ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary> <TargetMachine>MachineX64</TargetMachine> </Link> </ItemDefinitionGroup> @@ -146,11 +147,12 @@ <Link> <OutputFile>$(OutDir)$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll</OutputFile> <ModuleDefinitionFile>..\..\..\pango\pango.def</ModuleDefinitionFile> + <ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary> <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Windows</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> - <ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary> + <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration> <TargetMachine>MachineX64</TargetMachine> </Link> </ItemDefinitionGroup> |