mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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. ........
This commit is contained in:
parent
1d85bf49c3
commit
00d6a1d5d5
3 changed files with 7 additions and 0 deletions
2
configure
vendored
2
configure
vendored
|
@ -2302,6 +2302,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'
|
||||
|
@ -3221,6 +3222,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
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue