[pypy-commit] pypy default: always create pdb debug info in windows

mattip noreply at buildbot.pypy.org
Wed Sep 10 01:03:59 CEST 2014


Author: mattip <matti.picus at gmail.com>
Branch: 
Changeset: r73401:81319f2bd5bf
Date: 2014-09-10 02:02 +0300
http://bitbucket.org/pypy/pypy/changeset/81319f2bd5bf/

Log:	always create pdb debug info in windows

diff --git a/rpython/translator/platform/windows.py b/rpython/translator/platform/windows.py
--- a/rpython/translator/platform/windows.py
+++ b/rpython/translator/platform/windows.py
@@ -100,8 +100,8 @@
     cc = 'cl.exe'
     link = 'link.exe'
 
-    cflags = ('/MD', '/O2')
-    link_flags = ()
+    cflags = ('/MD', '/O2', '/Zi')
+    link_flags = ('/debug',)
     standalone_only = ()
     shared_only = ()
     environ = None
@@ -143,7 +143,6 @@
         # Install debug options only when interpreter is in debug mode
         if sys.executable.lower().endswith('_d.exe'):
             self.cflags = ['/MDd', '/Z7', '/Od']
-            self.link_flags = ['/debug']
 
             # Increase stack size, for the linker and the stack check code.
             stack_size = 8 << 20  # 8 Mb


More information about the pypy-commit mailing list