]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - mkfiles.pl
Reinstate the ASLR and DEP linker flags on Windows.
authorSimon Tatham <anakin@pobox.com>
Sat, 21 Jan 2017 14:55:53 +0000 (14:55 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 21 Jan 2017 14:55:53 +0000 (14:55 +0000)
commit27e58f826f95056d6abc5820266bcdb9fdc7632c
tree51428ad4fe76ddf960045fe0dd6bd88d40627cae
parentd03999661619df7e15e962d889128d15c6733d88
Reinstate the ASLR and DEP linker flags on Windows.

Originally added in commit 0014ffb70, and promptly reverted in
6bea4b250 when we realised that VS2003 didn't actually understand
them. But now we're building with VS2015, which does understand them,
it's actually useful to put them back in again.

Looking more closely, it turns out that VS2003 didn't actually _fail
to build_ if you passed these flags on the linker command line - it
just printed a warning and ignored them. (So there was no actual need
to revert the original change, except that it would have caused
confusion.) But that means I can add them unconditionally now, without
breaking even the legacy VS2003 build.
mkfiles.pl