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

Khem Raj raj.khem at gmail.com
Fri Jul 29 15:08:59 UTC 2016


On Fri, Jul 29, 2016 at 2:23 AM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Hello,
>
> On Fri, 29 Jul 2016 01:16:24 -0700, Khem Raj wrote:
>
>> > Can you give some more details? Did you look at the original commit log
>> > for this change? It pointed out some real problems when using -I, which
>> > in theory should be resolved by using -isystem.
>>
>> see
>> http://cgit.openembedded.org/cgit.cgi/openembedded-core/commit/?id=0a6e162c47017ecf51b466218fb549e0e199f4c4
>>
>> If packages use include_next they will have problems.
>
> Right, but like your patch shows, problems occur when packages are
> broken, so they should "simply" be fixed.

yes

>
> I don't really see another option than using -isystem in fact. What do
> you suggest?


with specifying your own -isystem you will be introducing the issue too see
this thread for more
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Q5SWCUUMWQ4EMS7CU2CBOZHV3WZYOOTT/

I had to remove it from OE all around


>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com


More information about the buildroot mailing list