[OE-core] [PATCH 4/4] native.bbclass: poison TARGET_CFLAGS etc for native builds

Burton, Ross ross.burton at intel.com
Sat Feb 27 20:49:56 UTC 2016


On 27 February 2016 at 08:20, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> Wouldn't it perhaps be nicer just to unexport these?
>
> I think
>
> TARGET_CPPFLAGS[unexport] = "1"
>
> might do it or we could do:
>
> delvarFlag("TARGET_CPPFLAGS", "export")
>
> ?
>
> Regardless of approach, this is likely going to need some extensive
> testing.
>

Unexporting is certainly neater, but a world build with poisoned flags
would certainly catch anything that's doing it wrong (openjdk for example
appears to be passing build cflags to host g++).

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160227/d798c132/attachment-0002.html>


More information about the Openembedded-core mailing list