diff options
author | Brian Paul <[email protected]> | 2014-02-12 09:05:13 -0700 |
---|---|---|
committer | José Fonseca <[email protected]> | 2014-09-11 11:59:28 +0100 |
commit | 4860e989723eb02507c1bf153e568ab05424575c (patch) | |
tree | 9e9e1fe558f0ac7e5ed60b51f511bee66bf070d7 | |
parent | 6816d853dbbfdc8b960b25496a9fe96a58053815 (diff) |
scons: add /dynamicbase and /nxcompat to MSVC linkflags
This builds the opengl DLLs with address layout space randomization
(ASLR) and data execution prevention (DEP) for better security.
Reviewed-by: Kurt Daverman <[email protected]>
-rwxr-xr-x | scons/gallium.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index e9153197110..b6c05ecd800 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -547,6 +547,8 @@ def generate(env): linkflags += [ '/fixed:no', '/incremental:no', + '/dynamicbase', + '/nxcompat', ] env.Append(LINKFLAGS = linkflags) env.Append(SHLINKFLAGS = shlinkflags) |