From: José Fonseca Date: Wed, 18 Feb 2009 15:05:23 +0000 (+0000) Subject: scons: Produce map files for debug builds too. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46728037a0ef3b78d6d1c9843f3bc0eeaa6df11a;p=mesa.git scons: Produce map files for debug builds too. --- diff --git a/scons/gallium.py b/scons/gallium.py index 33bd65dd543..2e490dde6e9 100644 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -444,7 +444,7 @@ def generate(env): '/entry:DrvEnableDriver', ] - if env['profile']: + if env['debug'] or env['profile']: linkflags += [ '/MAP', # http://msdn.microsoft.com/en-us/library/k7xkk3e2.aspx ] diff --git a/scons/generic.py b/scons/generic.py index 0ed21a4e6ce..db77ca238ac 100644 --- a/scons/generic.py +++ b/scons/generic.py @@ -512,7 +512,7 @@ def generate(env): '/entry:DrvEnableDriver', ] - if env['profile']: + if env['debug'] or env['profile']: linkflags += [ '/MAP', # http://msdn.microsoft.com/en-us/library/k7xkk3e2.aspx ]