summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-03-25 01:02:29 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-03-25 01:02:29 (GMT)
commit00d6a1d5d566df0652ed27b7fd74a092f1a83e16 (patch)
tree71664b8cf121168be2a127ff6d3e9c3a292b1620 /configure.in
parent1d85bf49c393201d8bcd8adde797c0c617c849f3 (diff)
downloadcpython-00d6a1d5d566df0652ed27b7fd74a092f1a83e16.zip
cpython-00d6a1d5d566df0652ed27b7fd74a092f1a83e16.tar.gz
cpython-00d6a1d5d566df0652ed27b7fd74a092f1a83e16.tar.bz2
Merged revisions 79392 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79392 | victor.stinner | 2010-03-25 01:21:53 +0100 (jeu., 25 mars 2010) | 3 lines Issue #8211: Save/restore CFLAGS around AC_PROG_CC in configure.in, compiler optimizations are disabled when --with-pydebug is used. ........
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 6893a07..0109367 100644
--- a/configure.in
+++ b/configure.in
@@ -441,7 +441,9 @@ then
(it is also a good idea to do 'make clean' before compiling)])
fi
+save_CFLAGS=$CFLAGS
AC_PROG_CC
+CFLAGS=$save_CFLAGS
AC_SUBST(CXX)
AC_SUBST(MAINCC)