mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Enable DEP and ASLR flags on VC++ linker command line
/dynamicbase and /nxcompat on the VC linker command line should enable DEP and ASLR according to this MSDN article. https://msdn.microsoft.com/en-us/library/bb430720.aspx
This commit is contained in:
parent
48db456801
commit
0014ffb70c
@ -636,7 +636,7 @@ if (defined $makefiles{'vc'}) {
|
||||
"CFLAGS = /nologo /W3 /O1 " .
|
||||
(join " ", map {"-I$dirpfx$_"} @srcdirs) .
|
||||
" /D_WINDOWS /D_WIN32_WINDOWS=0x500 /DWINVER=0x500\n".
|
||||
"LFLAGS = /incremental:no /fixed\n".
|
||||
"LFLAGS = /incremental:no /dynamicbase /nxcompat\n".
|
||||
"RCFLAGS = ".(join " ", map {"-I$dirpfx$_"} @srcdirs).
|
||||
" -DWIN32 -D_WIN32 -DWINVER=0x0400\n".
|
||||
"\n".
|
||||
|
Loading…
Reference in New Issue
Block a user