[libcroco] Visual Studio builds: Enhance security of x64 binaries
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libcroco] Visual Studio builds: Enhance security of x64 binaries
- Date: Fri, 20 Oct 2017 10:06:21 +0000 (UTC)
commit 6b161973afe5622d96d776d9bc44042f329e7047
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Oct 20 18:05:54 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/croco-build-defines.props | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/win32/vs10/croco-build-defines.props b/win32/vs10/croco-build-defines.props
index 064658c..c93af35 100644
--- a/win32/vs10/croco-build-defines.props
+++ b/win32/vs10/croco-build-defines.props
@@ -38,6 +38,10 @@ See COPYRIGHTS file for copyright information.
<Link>
<AdditionalDependencies>libxml2.lib;glib-2.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(GlibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <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>
</Project>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]