diff --git a/core/recipes-devtools/gcc/gcc_%.bbappend b/core/recipes-devtools/gcc/gcc_%.bbappend index bd3b9b1..9e923de 100644 --- a/core/recipes-devtools/gcc/gcc_%.bbappend +++ b/core/recipes-devtools/gcc/gcc_%.bbappend @@ -1,7 +1,7 @@ # FIXME: resolve gcc version mismatch issues with ${libdir}/gcc/*/ # filesystem paths python () { - if d.getVar('TCMODE', True).startswith('external'): + if d.getVar('EXTERNAL_ENABLED'): # unwind.h will come from libgcc-external, we don't want to try to pull it # from the cross area of the sysroot inst = d.getVar('do_install', False).splitlines()