Re: [meta-networking][PATCH 2/4] ot-daemon: add recipe for OpenThread daemon
On Thu, Apr 7, 2022 at 3:28 PM Stefan Schmidt <stefan@...> wrote:
poky defaults now a days include security_flags.inc which enables fortify and other good security stuff from compiler's point of view. So it seems your distro is not inheriting all the default distro policies was what I was trying to point at. -O2 is also poky default via SELECTED_OPTIMIZATION. So unless recipe is doingThat’s not good :) you should inherit good defaultsThe problem above was from the autobuilder error you pointed me to, something exotic to ignore these flags then it might happen because SECURITY_FLAGS are passed via CC not CFLAGS unlike SELECTED_OPTIMIZATION which is passed via CFLAGS.
|
|