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.41312e-06
Marked as misclassified No
Message-id <>
I'm having similar problem with distutils.

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
Date User Action Args
2008-11-27 17:33:10akitadasetrecipients: + akitada, skip.montanaro, brett.cannon, rpetrov
2008-11-27 17:33:10akitadasetmessageid: <>
2008-11-27 17:33:09akitadalinkissue4010 messages
2008-11-27 17:33:08akitadacreate