[pypy-commit] pypy default: add -g so debugger can be used

fijal noreply at buildbot.pypy.org
Fri Dec 9 19:16:16 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r50329:be6e2485ed4a
Date: 2011-12-09 20:15 +0200
http://bitbucket.org/pypy/pypy/changeset/be6e2485ed4a/

Log:	add -g so debugger can be used

diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py
--- a/pypy/module/cpyext/api.py
+++ b/pypy/module/cpyext/api.py
@@ -864,6 +864,7 @@
         elif sys.platform.startswith('linux'):
             compile_extra.append("-Werror=implicit-function-declaration")
         export_symbols_eci.append('pypyAPI')
+        compile_extra.append('-g')
     else:
         kwds["includes"] = ['Python.h'] # this is our Python.h
 


More information about the pypy-commit mailing list