From 7f7dc80732138fe9b8b3e8d8b8f3ce2556ce7e4e Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 20 Oct 2017 17:58:13 +0800 Subject: [PATCH] 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 file changed, 4 insertions(+) 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 glib-2.0.lib;gobject-2.0.lib;gmodule-2.0.lib;intl.lib;%(AdditionalDependencies) $(GLibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories) $(OutDir)$(AtkDllPrefix)$(ProjectName)$(AtkDllSuffix).pdb + /HIGHENTROPYVA %(AdditionalOptions) + /HIGHENTROPYVA %(AdditionalOptions) + /HIGHENTROPYVA %(AdditionalOptions) + /HIGHENTROPYVA %(AdditionalOptions) -- 2.7.4