scons: Produce map files for debug builds too.
This commit is contained in:
parent
c7431552c0
commit
46728037a0
|
@ -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
|
||||
]
|
||||
|
|
|
@ -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
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue