mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-06-21 08:52:27 +02:00
gcc: don't pull unwind.h from cross sysroot
libgcc-external provides this. Signed-off-by: Christopher Larson <kergoth@gmail.com>
This commit is contained in:
8
core/recipes-devtools/gcc/gcc_%.bbappend
Normal file
8
core/recipes-devtools/gcc/gcc_%.bbappend
Normal file
@@ -0,0 +1,8 @@
|
||||
# unwind.h will come from libgcc-external, we don't want to try to pull it
|
||||
# from the cross area of the sysroot
|
||||
python () {
|
||||
if d.getVar('TCMODE', True).startswith('external-sourcery'):
|
||||
inst = d.getVar('do_install', False).splitlines()
|
||||
inst = filter(lambda l: not ('unwind.h' in l and '${STAGING_LIBDIR_NATIVE}' in l), inst)
|
||||
d.setVar('do_install', '\n'.join(inst))
|
||||
}
|
||||
Reference in New Issue
Block a user