[atk/gnome-3-26] Visual Studio builds: Enhance security of x64 binaries
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atk/gnome-3-26] Visual Studio builds: Enhance security of x64 binaries
- Date: Fri, 20 Oct 2017 09:58:44 +0000 (UTC)
commit 16a6b0f98ae263cbc483b822a2ca0748da45f046
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Oct 20 17:58:13 2017 +0800
Visual Studio builds: Enhance security of x64 binaries
Use the HIGHENTROPYVA linker option on x64 builds with MSVC 2012 and
later to enhance the security of the built binaries.
Pointed out by Ignacio Casal Quinteiro.
win32/vs10/atk-build-defines.props | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/win32/vs10/atk-build-defines.props b/win32/vs10/atk-build-defines.props
index 3e0d96e..1b16038 100644
--- a/win32/vs10/atk-build-defines.props
+++ b/win32/vs10/atk-build-defines.props
@@ -27,6 +27,10 @@ nmake -f atk-introspection-msvc.mak CFG=$(Configuration) PREFIX=$(GlibEtcInstall
<AdditionalDependencies>glib-2.0.lib;gobject-2.0.lib;gmodule-2.0.lib;intl.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(GLibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ProgramDatabaseFile>$(OutDir)$(AtkDllPrefix)$(ProjectName)$(AtkDllSuffix).pdb</ProgramDatabaseFile>
+ <AdditionalOptions Condition="'$(VisualStudioVersion)|$(Platform)'=='11.0|x64'">/HIGHENTROPYVA
%(AdditionalOptions)</AdditionalOptions>
+ <AdditionalOptions Condition="'$(VisualStudioVersion)|$(Platform)'=='12.0|x64'">/HIGHENTROPYVA
%(AdditionalOptions)</AdditionalOptions>
+ <AdditionalOptions Condition="'$(VisualStudioVersion)|$(Platform)'=='14.0|x64'">/HIGHENTROPYVA
%(AdditionalOptions)</AdditionalOptions>
+ <AdditionalOptions Condition="'$(VisualStudioVersion)|$(Platform)'=='15.0|x64'">/HIGHENTROPYVA
%(AdditionalOptions)</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]