summaryrefslogtreecommitdiffstats
path: root/scons/generic.py
diff options
context:
space:
mode:
Diffstat (limited to 'scons/generic.py')
-rw-r--r--scons/generic.py2
1 files changed, 1 insertions, 1 deletions
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
]