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 akitada
Recipients akitada, brett.cannon, rpetrov, skip.montanaro
Date 2008-11-27.17:33:08
SpamBayes Score 6.4131154e-06
Marked as misclassified No
Message-id <1227807190.4.0.717144475364.issue4010@psf.upfronthosting.co.za>
In-reply-to
Content
I'm having similar problem with distutils.
http://mail.python.org/pipermail/python-dev/2008-November/083670.html

Is there any reason customize_compiler 
- only get CPPFLAGS in env, not ones from sysconfig?
- doesn't get OPT from from sysconfig, but it's used when env has CFLAGS?

I think this is a bug.
CPPFLAGS and OPT both should be used when building extension modules.
Just imagine a system that has include files in a non-standard locations
and explicitly added -I compiler flags to CPPFLAGS to adjust it.
When building an extension modules, the system should requires
the same CPPFLAGS settings. Without it, it won't compile.

In my opinion, this is rather serious bug.
So it would be nice to fix this before releasing Python 3.0/2.6.1/2.5.3
History
Date User Action Args
2008-11-27 17:33:10akitadasetrecipients: + akitada, skip.montanaro, brett.cannon, rpetrov
2008-11-27 17:33:10akitadasetmessageid: <1227807190.4.0.717144475364.issue4010@psf.upfronthosting.co.za>
2008-11-27 17:33:09akitadalinkissue4010 messages
2008-11-27 17:33:08akitadacreate