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:40:19 +0000 |
commit | 32eeb004f9a26189d98c24521eee5bb66dc86899 (patch) | |
tree | 1451ed763ee8e3a5c05c32fd7d1a57152cfd04c7 /meta/recipes-devtools/gcc | |
parent | c886a786cf63e4e19f004c2d8853c859ba5b938a (diff) | |
download | poky-32eeb004f9a26189d98c24521eee5bb66dc86899.tar.gz |
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>
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 @@ | |||
1 | require gcc-configure-common.inc | 1 | require gcc-configure-common.inc |
2 | 2 | ||
3 | CXXFLAGS := "${@oe_filter_out('-fvisibility-inlines-hidden', '${CXXFLAGS}', d)}" | 3 | CXXFLAGS_remove = "-fvisibility-inlines-hidden" |
4 | 4 | ||
5 | EXTRA_OECONF_PATHS = "\ | 5 | EXTRA_OECONF_PATHS = "\ |
6 | --with-gxx-include-dir=${includedir}/c++/${BINV} \ | 6 | --with-gxx-include-dir=${includedir}/c++/${BINV} \ |