Path: blob/master/build/pkgs/cython/patches/gdbout.patch
8820 views
--- src.orig/Cython/Compiler/CmdLine.py 2013-05-11 07:46:55.000000000 +02001+++ src/Cython/Compiler/CmdLine.py 2013-06-04 19:09:59.000000000 +02002@@ -28,6 +28,7 @@ Options:3-w, --working <directory> Sets the working directory for Cython (the directory modules4are searched from)5--gdb Output debug information for cygdb6+ --gdb-outdir <directory> Specify gdb debug information output directory. Implies --gdb.78-D, --no-docstrings Strip docstrings from the compiled module.9-a, --annotate Produce a colorized HTML version of the source.10@@ -138,6 +125,9 @@ def parse_command_line(args):11elif option == "--gdb":12options.gdb_debug = True13options.output_dir = os.curdir14+ elif option == "--gdb-outdir":15+ options.gdb_debug = True16+ options.output_dir = pop_arg()17elif option == '-2':18options.language_level = 219elif option == '-3':202122