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

2016-02-27 Thread Burton, Ross
On 27 February 2016 at 08:20, Richard Purdie < richard.pur...@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 appro

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

2016-02-27 Thread Richard Purdie
On Fri, 2016-02-26 at 21:53 -0800, Andre McCurdy wrote: > TARGET_* FLAGS are never passed to the native toolchain. However, > they are exported so their values affect the checksum of every task. > > Replace with fixed values to both avoid any unnecessary rebuilding > of native packages when target

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

2016-02-26 Thread Andre McCurdy
TARGET_* FLAGS are never passed to the native toolchain. However, they are exported so their values affect the checksum of every task. Replace with fixed values to both avoid any unnecessary rebuilding of native packages when target flags are changed (as before) and now also to poison any accident