X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d440a0e764687c595254539539b0cd6e3b075590..7d55cdc03363881d8566973282de9257f670aaec:/wxPython/setup.py diff --git a/wxPython/setup.py b/wxPython/setup.py index d1f624e9a8..3ad0cf25d7 100755 --- a/wxPython/setup.py +++ b/wxPython/setup.py @@ -13,7 +13,7 @@ from my_distutils import run_swig, contrib_copy_tree # flags and values that affect this script #---------------------------------------------------------------------- -VERSION = "2.3.3pre6" +VERSION = "2.3.3pre7" DESCRIPTION = "Cross platform GUI toolkit for Python" AUTHOR = "Robin Dunn" AUTHOR_EMAIL = "Robin Dunn " @@ -311,6 +311,9 @@ elif os.name == 'posix' and sys.platform[:6] == "darwin": cflags = string.split(cflags) if UNDEF_NDEBUG: cflags.append('-UNDEBUG') + if debug: + cflags.append('-g') + cflags.append('-O0') lflags = os.popen(WX_CONFIG + ' --libs', 'r').read()[:-1] lflags = string.split(lflags) @@ -338,6 +341,9 @@ elif os.name == 'posix': cflags = string.split(cflags) if UNDEF_NDEBUG: cflags.append('-UNDEBUG') + if debug: + cflags.append('-g') + cflags.append('-O0') lflags = os.popen(WX_CONFIG + ' --libs', 'r').read()[:-1] lflags = string.split(lflags)