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/pangowin32.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/pangowin32.vcxprojin')
-rw-r--r-- | build/win32/vs10/pangowin32.vcxprojin | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/build/win32/vs10/pangowin32.vcxprojin b/build/win32/vs10/pangowin32.vcxprojin index 31b5cc2f..169afe74 100644 --- a/build/win32/vs10/pangowin32.vcxprojin +++ b/build/win32/vs10/pangowin32.vcxprojin @@ -104,9 +104,9 @@ <AdditionalDependencies>usp10.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll</OutputFile> <ModuleDefinitionFile>..\..\..\pango\pangowin32.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> @@ -123,11 +123,12 @@ <AdditionalDependencies>usp10.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll</OutputFile> <ModuleDefinitionFile>..\..\..\pango\pangowin32.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>MachineX86</TargetMachine> </Link> </ItemDefinitionGroup> @@ -147,9 +148,9 @@ <AdditionalDependencies>usp10.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll</OutputFile> <ModuleDefinitionFile>..\..\..\pango\pangowin32.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> @@ -166,11 +167,12 @@ <AdditionalDependencies>usp10.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll</OutputFile> <ModuleDefinitionFile>..\..\..\pango\pangowin32.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> |