summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2014-03-16 11:46:20 +0100
committerMagnus Hagander <magnus@hagander.net>2014-03-16 11:46:20 +0100
commitfae12f3310aa515fda9c7659d6ce9350176fb929 (patch)
tree0c9837e880a46f1b0918f63722d277e0acdeb3d6 /src
parent2df1bf21c77537043e058a6d03c42f0e8423902c (diff)
Disable RandomizeBaseAddress on MSVC builds
This is a backpatch of 7f3e17b4827b61ad84e0774e3e43da4c57c4487f to 9.0 and 9.1. Patch by MauMau
Diffstat (limited to 'src')
-rw-r--r--src/tools/msvc/Project.pm1
1 files changed, 1 insertions, 0 deletions
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})