[Buildroot] [PATCH 1/2] package/Makefile.in should grab HOST_DIR headers using -isystem instead of -I.

David Raeman draeman at bbn.com
Tue Aug 2 12:21:04 UTC 2016


Yann, All,

On Mon, Aug 1, 2016 at 5:59 PM, Yann E. MORIN wrote:
>  2- it fixes the python issues we've had with -isystem?

I see that you already backed away from this idea, but I thought I'd
still chime in on the python question.  You may have missed my email
about what is causing the python issue - please see:
http://lists.busybox.net/pipermail/buildroot/2016-July/168710.html.

In a nutshell, the python setup.py script is peeking in the CPPFLAGS
environment variable and is extracting any uses of the -I flag.  Then
it's checking whether system libraries are installed in any of those
locations, to know which modules can be enabled by the build.

So using any flag to specify include directories other than -I will
not work without patching the python setup.py script.

Cheers,
David





More information about the buildroot mailing list