[oe] [meta-networking][PATCH 2/2] meta-networking: override SECURITY_CFLAGS for c-ares

Christopher Larson clarson at kergoth.com
Fri Jul 15 14:34:33 UTC 2016


On Fri, Jul 15, 2016 at 5:54 AM, <git at andred.net> wrote:

> From: André Draszik <adraszik at tycoint.com>
>
> c-ares doesn't build if the distro has enabled usage of the
> security_flags.inc file as it is picky about what is placed
> into CPPFLAGS and CFLAGS. It complains and errors out if any
> preprocessor options appear in CFLAGS.
>
> Fix this by providing an additional include file that is
> require'd from conf/layer.conf.
>
> Signed-off-by: André Draszik <adraszik at tycoint.com>
>

This commit message is a little misleading. The fact that you added a .inc
isn't what fixed the problem, the move of the defines from CFLAGS to
CPPFLAGS was.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the Openembedded-devel mailing list