diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-01-19 10:44:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-19 17:39:27 +0000 |
commit | 19995268da27af93af6f718fab0434178a1079ce (patch) | |
tree | 2d248abb295d4b2f6a4f7f6643d30f92243d2416 /meta/recipes-devtools/gcc | |
parent | e777b541c76dad293d1c214e46c00f8f78fe0539 (diff) | |
download | openembedded-core-19995268da27af93af6f718fab0434178a1079ce.tar.gz openembedded-core-19995268da27af93af6f718fab0434178a1079ce.tar.bz2 openembedded-core-19995268da27af93af6f718fab0434178a1079ce.zip |
gcc-runtime: switch to removal override syntax to modify CXXFLAGS
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.
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index c31072a390..075afbd4fe 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} \ |