diff options
| author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-03-25 00:21:53 +0000 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-03-25 00:21:53 +0000 |
| commit | cf88b42b456d307d9ed41075b229b3c2f667950e (patch) | |
| tree | 986a54a58597a258587cd7d6babfee3e075609ce /configure.in | |
| parent | 1ea066d949f1f5cc03c78f9719963611ba8c5f3c (diff) | |
| download | cpython-cf88b42b456d307d9ed41075b229b3c2f667950e.tar.gz | |
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.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 9773e8c06f..e9bd94b5ad 100644 --- a/configure.in +++ b/configure.in @@ -493,7 +493,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) |
