summaryrefslogtreecommitdiff
path: root/scons/gallium.py
diff options
context:
space:
mode:
Diffstat (limited to 'scons/gallium.py')
-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