From 4860e989723eb02507c1bf153e568ab05424575c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 12 Feb 2014 09:05:13 -0700 Subject: 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 --- scons/gallium.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scons') 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) -- cgit v1.1