[OE-core] [PATCH 1/2] gcc-runtime: switch to removal override syntax to modify CXXFLAGS

Khem Raj raj.khem at gmail.com
Tue Jan 19 15:20:35 UTC 2016


> On Jan 19, 2016, at 2:44 AM, Joshua Lock <joshua.g.lock at intel.com> wrote:
> 
> The use of immediate expansion can cause issues when trying to
> override variables, further the removal override syntax is clearer
> than oe_filter_out () — switch to using removal override syntax
> instead.

LGTM

> 
> Signed-off-by: Joshua Lock <joshua.g.lock at intel.com>
> ---
> meta/recipes-devtools/gcc/gcc-runtime.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
> index c31072a..075afbd 100644
> --- a/meta/recipes-devtools/gcc/gcc-runtime.inc
> +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
> @@ -1,6 +1,6 @@
> require gcc-configure-common.inc
> 
> -CXXFLAGS := "${@oe_filter_out('-fvisibility-inlines-hidden', '${CXXFLAGS}', d)}"
> +CXXFLAGS_remove = "-fvisibility-inlines-hidden"
> 
> EXTRA_OECONF_PATHS = "\
>     --with-gxx-include-dir=${includedir}/c++/${BINV} \
> --
> 2.5.0
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160119/2bedb478/attachment-0002.sig>


More information about the Openembedded-core mailing list