On 9 July 2010 02:51, Denys Dmytriyenko <de...@denix.org> wrote:
> On Thu, Jul 08, 2010 at 03:09:01PM +0930, Graham Gower wrote:
>> This patch introduces a new command line parameter to gcc (at
>> Zecke's suggestion), -ibad, which may be used to specify
>> blacklisted include prefixes. E.g.
>>
>> g...@eye7:/tmp$ ~/oe2/tmp/cross/mipsel/bin/mipsel-angstrom-linux-gcc -c 
>> test.c -ibad /usr/include -I /usr/include
>> CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
>>
>> This makes it much easier to add new blacklisted include paths,
>> with a trivial edit to bitbake.conf. No additional paths have
>> been added yet, but my motivation for this was to add
>> /usr/X11R6/include and /usr/X11/include.
>>
>> Please note that the bitbake.conf change will break builds with
>> versions of gcc that do not accept this -ibad parameter. I have
>
> Does it mean any external toolchain will be broken or require changes to the
> bitbake.conf?

Yes.

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to