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 Lukas.Vacek
Recipients Lukas.Vacek, Peter.Kruse, athompson, christian.heimes, fdrake, gregory.p.smith, python-dev
Date 2014-05-09.15:55:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399650916.13.0.323044295506.issue19186@psf.upfronthosting.co.za>
In-reply-to
Content
Actually CFLAGS do indeed come before any include directories.

I can reproduce your problem:
mkdir /tmp/extra_include
cp /usr/include/expat.h /usr/include/expat_external.h /tmp/extra_include/
make CFLAGS="-I/tmp/extra_include"

You should use CPPFLAGS for extra include directories. Not an issue in CPython.
History
Date User Action Args
2014-05-09 15:55:16Lukas.Vaceksetrecipients: + Lukas.Vacek, fdrake, gregory.p.smith, christian.heimes, python-dev, athompson, Peter.Kruse
2014-05-09 15:55:16Lukas.Vaceksetmessageid: <1399650916.13.0.323044295506.issue19186@psf.upfronthosting.co.za>
2014-05-09 15:55:16Lukas.Vaceklinkissue19186 messages
2014-05-09 15:55:15Lukas.Vacekcreate