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

Author: Brian Paul <[email protected]>
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 <[email protected]>

---

 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)

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to