cpython: 527ed5205806 (original) (raw)

Mercurial > cpython

changeset 94592:527ed5205806

Issue #23445: pydebug builds now use "gcc -Og" where possible, to make the resulting executable faster. [#23445]

Antoine Pitrou solipsis@pitrou.net
date Wed, 11 Feb 2015 19:41:01 +0100
parents 8f978b2891dc(current diff)e37b201297d2(diff)
children 4828cb77bf2a
files Misc/NEWS configure configure.ac
diffstat 3 files changed, 16 insertions(+), 2 deletions(-)[+] [-] Misc/NEWS 6 configure 6 configure.ac 6

line wrap: on

line diff

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -26,6 +26,12 @@ Library argument which, if set to True, will pass messages to handlers taking handler levels into account. +Build +----- + +- Issue #23445: pydebug builds now use "gcc -Og" where possible, to make

--- a/configure +++ b/configure @@ -6338,7 +6338,11 @@ then if test "$Py_DEBUG" = 'true' ; then # Optimization messes up debuggers, so turn it off for # debug builds. - OPT="-g -O0 -Wall $STRICT_PROTO"

--- a/configure.ac +++ b/configure.ac @@ -1128,7 +1128,11 @@ then if test "$Py_DEBUG" = 'true' ; then # Optimization messes up debuggers, so turn it off for # debug builds. - OPT="-g -O0 -Wall $STRICT_PROTO"