diff options
author | Ross Burton <ross.burton@intel.com> | 2019-03-21 12:32:17 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-24 17:00:52 +0000 |
commit | 06606fd9e0c1000c7479f2899eb6e5c48fa5b2cd (patch) | |
tree | c1f84be1284cbbc7a4ec184daa751b690a1b6beb /scripts/lib/devtool/__init__.py | |
parent | 928b20e70526955c02e93f71e8c30ff17f48de72 (diff) | |
download | poky-06606fd9e0c1000c7479f2899eb6e5c48fa5b2cd.tar.gz |
meson: warn if the default value from meson.get_cross_property() is being used
Projects such as glib have tests that execute code to check their behaviour, and
in cross-compilation environments where they can't execute code fall back on
meson.get_cross_property() with a default value. These default values may not
be appropriate: for example if glib can't verify that vsprintf() isn't broken it
assumes that it is, and embeds the gnulib copy of vsprintf() instead of using
glibc's implementation.
Add a warning whenever the default value for get_cross_property() is used so
that we can tell this is happening and set the value appropriately.
(From OE-Core rev: 669ddafcc9f363cbb81d4b71649241257785a840)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/__init__.py')
0 files changed, 0 insertions, 0 deletions