]> granicus.if.org Git - postgresql/commitdiff
Disable RandomizeBaseAddress on MSVC builds
authorMagnus Hagander <magnus@hagander.net>
Sun, 16 Mar 2014 10:46:20 +0000 (11:46 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 16 Mar 2014 10:46:20 +0000 (11:46 +0100)
This is a backpatch of 7f3e17b4827b61ad84e0774e3e43da4c57c4487f
to 9.0 and 9.1.

Patch by MauMau

src/tools/msvc/Project.pm

index 697b08da463f039cbbb3ecdc8ffc512a61fc2c66..e33bb04ad84e35d2093471c7ad4684f327c949ee 100644 (file)
@@ -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})