OSDN Git Service

scons: Output mapfile on windows ddk profile builds.
[android-x86/external-mesa.git] / scons / gallium.py
index c4a5c65..59ba348 100644 (file)
@@ -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