Mesa (master): scons: add /dynamicbase and /nxcompat to MSVC linkflags

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Sep 11 11:03:07 UTC 2014


Module: Mesa
Branch: master
Commit: 4860e989723eb02507c1bf153e568ab05424575c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4860e989723eb02507c1bf153e568ab05424575c

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Feb 12 09:05:13 2014 -0700

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 at vmware.com>

---

 scons/gallium.py |    2 ++
 1 file changed, 2 insertions(+)

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)




More information about the mesa-commit mailing list