diff options
author | Martin Kelly <mkelly@xevo.com> | 2018-01-17 11:22:56 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-19 12:18:04 +0000 |
commit | f435d1b75d3775f6ec0df6027766008b40209fd7 (patch) | |
tree | 8a50bc74bae6ce9db6800aa6f367f7907b053ac7 /meta/lib | |
parent | 73ff85986d82c8da601d7c7cf9a02961f2f66a09 (diff) | |
download | openembedded-core-f435d1b75d3775f6ec0df6027766008b40209fd7.tar.gz openembedded-core-f435d1b75d3775f6ec0df6027766008b40209fd7.tar.bz2 openembedded-core-f435d1b75d3775f6ec0df6027766008b40209fd7.zip |
meson.bbclass: include C{, XX}FLAGS in cross args
Currently, CFLAGS and CXXFLAGS are not making it into the compile line.
This is because meson appends CFLAGS/CXXFLAGS from the environment only
for native but not for cross builds (probably to keep cross-builds more
isolated). As a result, we need to make sure these vars goes into
meson.cross. This is similar to what cmake.bbclass does with
OECMAKE_C_FLAGS and OECMAKE_CXX_FLAGS.
Change c_args and cpp_args in meson.cross to include these vars, and
update write_config[vardeps] accordingly.
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib')
0 files changed, 0 insertions, 0 deletions