diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-05-05 22:31:36 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-05-05 22:31:36 (GMT) |
commit | b2153e9d08b95c12c82b3d75cfaba837734c561b (patch) | |
tree | 259fb82df1d0dea5ad0bdd7360a4ac64cab1d9fc /configure | |
parent | ae4d5c6b643c3efeb5f7b43ca9108978b388ab34 (diff) | |
download | cpython-b2153e9d08b95c12c82b3d75cfaba837734c561b.zip cpython-b2153e9d08b95c12c82b3d75cfaba837734c561b.tar.gz cpython-b2153e9d08b95c12c82b3d75cfaba837734c561b.tar.bz2 |
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.
........
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 80666 . +# From configure.in Revision: 80728 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.65 for python 3.2. # @@ -5288,7 +5288,7 @@ then if test "$Py_DEBUG" = 'true' ; then # Optimization messes up debuggers, so turn it off for # debug builds. - OPT="-g -Wall $STRICT_PROTO" + OPT="-g -O0 -Wall $STRICT_PROTO" else OPT="-g $WRAP -O3 -Wall $STRICT_PROTO" fi @@ -13553,13 +13553,14 @@ fi - case $ac_sys_system in OSF*) as_fn_error "OSF* systems are deprecated unless somebody volunteers. Check http://bugs.python.org/issue8606" "$LINENO" 5 ;; esac + + for h in `(cd $srcdir;echo Python/thread_*.h)` do THREADHEADERS="$THREADHEADERS \$(srcdir)/$h" |