diff options
author | Jim Broadus <jbroadus@xevo.com> | 2020-03-27 13:06:08 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-03-28 08:07:47 -0700 |
commit | 7cdc7ff4cdfbd75083ec37ed2e8a380f48fb692c (patch) | |
tree | 8bca1bcb39c01e381c67607858d916de71ffaade /COPYING.MIT | |
parent | 31732172809bc163eba728857693d933ad193bf5 (diff) | |
download | meta-clang-7cdc7ff4cdfbd75083ec37ed2e8a380f48fb692c.tar.gz |
clang: Fix default resources directory when cross compiling
By default, clang looks for resourses relative to the binary location:
${location}/../lib/clang/${version}/
However, the default bindir defined in cross.bbclass is a subdirectory of bin,
so clang forms a directory that looks like /usr/bin/lib/clang/10.0.0/
Apply a patch to use ${location}/../../lib/clang/${version} if the directory
name of ${location}/.. is "bin".
Signed-off-by: Jim Broadus <jbroadus@xevo.com>
Diffstat (limited to 'COPYING.MIT')
0 files changed, 0 insertions, 0 deletions