diff options
author | Nikolay Merinov <n.merinov@inango-systems.com> | 2017-10-07 00:00:39 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-07 17:07:57 +0000 |
commit | f4c3ce037b1a4d5e61fee032f4068c15dcaffb37 (patch) | |
tree | b3d1d1c85ebed25e9e9de5b7ac393b7fdaae8678 /scripts/yocto-compat-layer-wrapper | |
parent | 4992fc465d074ca04552080bf45d4efbfd61958e (diff) | |
download | poky-f4c3ce037b1a4d5e61fee032f4068c15dcaffb37.tar.gz |
cross.bbclass: Remove usage of host flags for cross-compilation
BUILD_* flags can't be used as TARGET_* flags even for "cross" packages.
gcc-cross buils leaks config.log's through "gcc-stashed-builddir" and
TARGET_* flags to libgcc cross-build through "gcc/libgcc.mvars" file
on "gcc-stashed-builddir". This means that if BUILD_CFLAGS contains
host-specific flags like "-isystem/usr/include" libgcc build will
fail "do_qa_configure" and "do_package_qa" checks.
Remove host-related flags from TARGET_* flags for gcc-cross build.
(From OE-Core rev: 6c52b2db3a7c07a7bf448ba2c9db89a7734e4b4b)
(From OE-Core rev: 39fcca60f64bc6afc57943881bec5641820d3d7d)
Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/yocto-compat-layer-wrapper')
0 files changed, 0 insertions, 0 deletions