summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-02-12 09:05:13 -0700
committerJosé Fonseca <[email protected]>2014-09-11 11:59:28 +0100
commit4860e989723eb02507c1bf153e568ab05424575c (patch)
tree9e9e1fe558f0ac7e5ed60b51f511bee66bf070d7
parent6816d853dbbfdc8b960b25496a9fe96a58053815 (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-xscons/gallium.py2
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)