<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 27 February 2016 at 08:20, Richard Purdie <span dir="ltr"><<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":2n3" class="a3s" style="overflow:hidden">Wouldn't it perhaps be nicer just to unexport these?<br>
<br>
I think<br>
<br>
TARGET_CPPFLAGS[unexport] = "1"<br>
<br>
might do it or we could do:<br>
<br>
delvarFlag("TARGET_CPPFLAGS", "export")<br>
<br>
?<br>
<br>
Regardless of approach, this is likely going to need some extensive<br>
testing.<br></div></blockquote></div><br>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++).</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>