summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-01-19 10:44:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-19 17:40:19 +0000
commit32eeb004f9a26189d98c24521eee5bb66dc86899 (patch)
tree1451ed763ee8e3a5c05c32fd7d1a57152cfd04c7
parentc886a786cf63e4e19f004c2d8853c859ba5b938a (diff)
downloadopenembedded-core-contrib-32eeb004f9a26189d98c24521eee5bb66dc86899.tar.gz
openembedded-core-contrib-32eeb004f9a26189d98c24521eee5bb66dc86899.tar.bz2
openembedded-core-contrib-32eeb004f9a26189d98c24521eee5bb66dc86899.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. (From OE-Core rev: 19995268da27af93af6f718fab0434178a1079ce) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime.inc2
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} \