summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-07-01 22:04:01 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-07-01 22:04:01 +0900
commit846f87d8264e2a3755b0a00e45e75602192957fe (patch)
treeefadaef404f517eb3ca89c962ccbfe50033bae2e
parent810888f6564a1421f82190fbb8766ad8c79d88b7 (diff)
scons: Output mapfile on windows ddk profile builds.
-rw-r--r--scons/gallium.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index c4a5c65be4..59ba34844b 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -330,6 +330,10 @@ def generate(env):
'/entry:DrvEnableDriver',
]
+ if env['profile']:
+ linkflags += [
+ '/MAP', # http://msdn.microsoft.com/en-us/library/k7xkk3e2.aspx
+ ]
env.Append(LINKFLAGS = linkflags)
# Convenience Library Builder