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 <>
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.
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: <>
2014-05-09 15:55:16Lukas.Vaceklinkissue19186 messages
2014-05-09 15:55:15Lukas.Vacekcreate