diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-03-25 00:21:53 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-03-25 00:21:53 (GMT) |
commit | 6cbf90fc0fd552ec7689e5a885b278c05aa866ae (patch) | |
tree | c4574ec2c29ca4e0bb244f52e3207d03e601df89 /configure | |
parent | 2ec1f27716ce8452302665e9c140ac8ae6fb472b (diff) | |
download | cpython-6cbf90fc0fd552ec7689e5a885b278c05aa866ae.zip cpython-6cbf90fc0fd552ec7689e5a885b278c05aa866ae.tar.gz cpython-6cbf90fc0fd552ec7689e5a885b278c05aa866ae.tar.bz2 |
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')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2367,6 +2367,7 @@ echo "$as_me: error: cached CC is different -- throw away $cache_file { (exit 1); exit 1; }; } fi +save_CFLAGS=$CFLAGS ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -3286,6 +3287,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu +CFLAGS=$save_CFLAGS |