diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-02-18 15:05:23 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-02-18 15:05:23 +0000 |
commit | 46728037a0ef3b78d6d1c9843f3bc0eeaa6df11a (patch) | |
tree | 4342908643c28609ec902f55930c20296492dfb0 | |
parent | c7431552c0ff203cd4b3ae37751b10e6111e4167 (diff) |
scons: Produce map files for debug builds too.
-rw-r--r-- | scons/gallium.py | 2 | ||||
-rw-r--r-- | scons/generic.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index 33bd65dd54..2e490dde6e 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 0ed21a4e6c..db77ca238a 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 ] |