diff options
Diffstat (limited to 'scons')
-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 d20d02c..ee22110 100644 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -473,7 +473,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 7592222..def2e41 100644 --- a/scons/generic.py +++ b/scons/generic.py @@ -552,7 +552,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 ] |