Thread (7 messages) 7 messages, 3 authors, 2016-02-27

Re: [PATCH 4/4] native.bbclass: poison TARGET_CFLAGS etc for native builds

From: Burton, Ross <hidden>
Date: 2016-02-27 20:50:15

On 27 February 2016 at 08:20, Richard Purdie <
richard.purdie@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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help