postgres.git / summary / log / commit / refs
commit fae12f3310aa515fda9c7659d6ce9350176fb929
Author: Magnus Hagander <magnus@hagander.net>
Date: Sun Mar 16 10:46:20 2014 +0000
First released in: 9.0.17, 9.1.13
Disable RandomizeBaseAddress on MSVC builds
This is a backpatch of 7f3e17b4827b61ad84e0774e3e43da4c57c4487f
to 9.0 and 9.1.
Patch by MauMau
src/tools/msvc/Project.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/tools/msvc/Project.pm b/src/tools/msvc/Project.pm
index 697b08da463..e33bb04ad84 100644
--- a/src/tools/msvc/Project.pm
+++ b/src/tools/msvc/Project.pm
@@ -524,6 +524,7 @@ EOF
StackReserveSize="4194304" DisableSpecificWarnings="$self->{disablewarnings}"
GenerateDebugInformation="TRUE" ProgramDatabaseFile=".\\$cfgname\\$self->{name}\\$self->{name}.pdb"
GenerateMapFile="FALSE" MapFileName=".\\$cfgname\\$self->{name}\\$self->{name}.map"
+ RandomizedBaseAddress="1"
SubSystem="1" TargetMachine="$targetmachine"
EOF
if ($self->{disablelinkerwarnings})
[parent: 2df1bf21c775]