Merged revisions 80832 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r80832 | mark.dickinson | 2010-05-05 23:23:58 +0100 (Wed, 05 May 2010) | 2 lines Issue #8625: Turn off gcc optimization in debug builds. ........
This commit is contained in:
parent
ae4d5c6b64
commit
b2153e9d08
|
@ -1145,6 +1145,12 @@ Extension Modules
|
||||||
Build
|
Build
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Issue #8625: Turn off optimization in --with-pydebug builds with
|
||||||
|
gcc. (Optimization was unintentionally turned on in gcc
|
||||||
|
--with-pydebug builds as a result of the issue #1628484 fix,
|
||||||
|
combined with autoconf's strange choice of default CFLAGS produced
|
||||||
|
by AC_PROG_CC for gcc.)
|
||||||
|
|
||||||
- Issue #3646: It is now easily possible to install a Python framework into
|
- Issue #3646: It is now easily possible to install a Python framework into
|
||||||
your home directory on MacOSX, see Mac/README for more information.
|
your home directory on MacOSX, see Mac/README for more information.
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# From configure.in Revision: 80666 .
|
# From configure.in Revision: 80728 .
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.65 for python 3.2.
|
# Generated by GNU Autoconf 2.65 for python 3.2.
|
||||||
#
|
#
|
||||||
|
@ -5288,7 +5288,7 @@ then
|
||||||
if test "$Py_DEBUG" = 'true' ; then
|
if test "$Py_DEBUG" = 'true' ; then
|
||||||
# Optimization messes up debuggers, so turn it off for
|
# Optimization messes up debuggers, so turn it off for
|
||||||
# debug builds.
|
# debug builds.
|
||||||
OPT="-g -Wall $STRICT_PROTO"
|
OPT="-g -O0 -Wall $STRICT_PROTO"
|
||||||
else
|
else
|
||||||
OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
|
OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
|
||||||
fi
|
fi
|
||||||
|
@ -13553,13 +13553,14 @@ fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
case $ac_sys_system in
|
case $ac_sys_system in
|
||||||
OSF*) as_fn_error "OSF* systems are deprecated unless somebody volunteers. Check http://bugs.python.org/issue8606" "$LINENO" 5 ;;
|
OSF*) as_fn_error "OSF* systems are deprecated unless somebody volunteers. Check http://bugs.python.org/issue8606" "$LINENO" 5 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
for h in `(cd $srcdir;echo Python/thread_*.h)`
|
for h in `(cd $srcdir;echo Python/thread_*.h)`
|
||||||
do
|
do
|
||||||
THREADHEADERS="$THREADHEADERS \$(srcdir)/$h"
|
THREADHEADERS="$THREADHEADERS \$(srcdir)/$h"
|
||||||
|
|
|
@ -875,7 +875,7 @@ then
|
||||||
if test "$Py_DEBUG" = 'true' ; then
|
if test "$Py_DEBUG" = 'true' ; then
|
||||||
# Optimization messes up debuggers, so turn it off for
|
# Optimization messes up debuggers, so turn it off for
|
||||||
# debug builds.
|
# debug builds.
|
||||||
OPT="-g -Wall $STRICT_PROTO"
|
OPT="-g -O0 -Wall $STRICT_PROTO"
|
||||||
else
|
else
|
||||||
OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
|
OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue