summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
Diffstat (limited to 'scons')
-rw-r--r--scons/gallium.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index c4a5c65be40..59ba34844b7 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