diff options
author | Brian Paul <brianp@vmware.com> | 2014-02-12 09:05:13 -0700 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-09-11 11:59:28 +0100 |
commit | 4860e989723eb02507c1bf153e568ab05424575c (patch) | |
tree | 9e9e1fe558f0ac7e5ed60b51f511bee66bf070d7 /scons | |
parent | 6816d853dbbfdc8b960b25496a9fe96a58053815 (diff) | |
download | external_mesa3d-4860e989723eb02507c1bf153e568ab05424575c.zip external_mesa3d-4860e989723eb02507c1bf153e568ab05424575c.tar.gz external_mesa3d-4860e989723eb02507c1bf153e568ab05424575c.tar.bz2 |
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 <krd@vmware.com>
Diffstat (limited to 'scons')
-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 e915319..b6c05ec 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) |