[OE-core] TARGET_CFLAGS for non-target builds

Burton, Ross ross.burton at intel.com
Mon Feb 8 23:00:08 UTC 2016


On 8 February 2016 at 20:03, Andre McCurdy <armccurdy at gmail.com> wrote:

> Can you give an example? Looking at native.bbclass it seems to replace
> TARGET_CFLAGS with BUILD_CFLAGS, not manipulate it.
>

Sure, so in doing a native build TARGET_CFLAGS is used.  But as
security_flags.inc was using TARGET_CFLAGS_append, the end result was
BUILD_CFLAGS appended with the security flags.

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


More information about the Openembedded-core mailing list