[issue8211] configure: ignore AC_PROG_CC hardcoded CFLAGS

STINNER Victor report at bugs.python.org
Thu Mar 25 01:26:32 CET 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

MaL> It unconditionally overrides CFLAGS - even if it is not 
MaL> set and defined by AC_PROG_CC as "-g -O2". That would need 
MaL> to be corrected.
MaL>
MaL> Other than that it does help a little work around the mess :-)

I commited my patch: r79392 (trunk). I'm waiting for the buildbots before porting to other branches :-)

On my Linux, .c files are now compiled with:
 - "-fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall ..." (default)
 - "-fno-strict-aliasing -g -Wall ..." (--with-pydebug): no more compiler optimization hurting gdb ;-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8211>
_______________________________________


More information about the Python-bugs-list mailing list