scons: Produce map files for debug builds too.

This commit is contained in:
José Fonseca 2009-02-18 15:05:23 +00:00
parent c7431552c0
commit 46728037a0
2 changed files with 2 additions and 2 deletions

View File

@ -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
]

View File

@ -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
]