This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Arfrever, lemburg, loewis, vstinner
Date 2010-03-25.09:14:34
SpamBayes Score 1.0062506e-12
Marked as misclassified No
Message-id <1269508476.61.0.76435997971.issue8211@psf.upfronthosting.co.za>
In-reply-to
Content
MaL> The patch you checked in still unconditionally overrides the
MaL> CFLAGS setting applied by AC_PROG_CC in case no CFLAGS variable
MaL> is set.
MaL>
MaL> The issue now is: AC_PROG_CC no longer initializes CFLAGS 
MaL> if not set.

Sorry, but I don't understand. Why should it be initialized?

I don't like the default value because it enables optimization when --with-pydebug is used and I consider that as a bug. If no configure option is used, Python adds -O3 as before. About -g: Python always add it, so the -g from AC_PROG_CC was redundant.

In Makefile.pre.in, prefixes and suffixes are added to the CFLAGS: "CFLAGS= $(BASECFLAGS) @CFLAGS@ $(OPT) $(EXTRA_CFLAGS)". But I consider this as a separate issue.
History
Date User Action Args
2010-03-25 09:14:36vstinnersetrecipients: + vstinner, lemburg, loewis, Arfrever
2010-03-25 09:14:36vstinnersetmessageid: <1269508476.61.0.76435997971.issue8211@psf.upfronthosting.co.za>
2010-03-25 09:14:35vstinnerlinkissue8211 messages
2010-03-25 09:14:34vstinnercreate