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 ericvw
Recipients dstufft, eric.araujo, ericvw, lkollar, pablogsal, yan12125
Date 2019-03-15.22:17:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552688221.93.0.0759216373484.issue33990@roundup.psfhosted.org>
In-reply-to
Content
I discovered that `Makefile.in.pre` injects include paths for building the interpreter, itself, which should probably not be passed along via distutils for building C/C++ extensions 😕.

https://github.com/python/cpython/blob/842a2f07f2f08a935ef470bfdaeef40f87490cfc/Makefile.pre.in#L101

It seems like more investigation is required in determining the purpose of `CPPFLAGS` with respect to building the interpreter and if `distutils` should be passing along at`./configure` time of the interpreter.

For now, specifying include paths via `CFLAGS` will still suffice until the scope of `CPPFLAGS` is better defined.
History
Date User Action Args
2019-03-15 22:17:01ericvwsetrecipients: + ericvw, eric.araujo, dstufft, yan12125, lkollar, pablogsal
2019-03-15 22:17:01ericvwsetmessageid: <1552688221.93.0.0759216373484.issue33990@roundup.psfhosted.org>
2019-03-15 22:17:01ericvwlinkissue33990 messages
2019-03-15 22:17:01ericvwcreate