Message101673
STINNER Victor wrote:
>
> STINNER Victor <victor.stinner@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 ;-)
The patch you checked in still unconditionally overrides the
CFLAGS setting applied by AC_PROG_CC in case no CFLAGS variable
is set.
Please fix that or revert the patch. |
|
Date |
User |
Action |
Args |
2010-03-25 07:42:27 | lemburg | set | recipients:
+ lemburg, loewis, vstinner, Arfrever |
2010-03-25 07:42:25 | lemburg | link | issue8211 messages |
2010-03-25 07:42:23 | lemburg | create | |
|