From: Brian Paul Date: Wed, 12 Feb 2014 16:05:13 +0000 (-0700) Subject: scons: add /dynamicbase and /nxcompat to MSVC linkflags X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4860e989723eb02507c1bf153e568ab05424575c;p=mesa.git 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 --- 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)