diff options
author | Esben Haabendal <esben.haabendal@huawei.com> | 2022-03-16 17:28:23 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-03-17 14:59:25 -0700 |
commit | c63c71b03b413a590825861e3fcb1ebed42eb98a (patch) | |
tree | 54e07551e857fab7626e7dcf33c7d43ce4615ecc /classes/clang.bbclass | |
parent | 38ea7927776ece6b59bc210312b17d84351cdfaa (diff) | |
download | meta-clang-c63c71b03b413a590825861e3fcb1ebed42eb98a.tar.gz |
clang: Avoid double libcxx in BASE_DEFAULT_DEPS
When RUNTIME=="llvm" the libcxx entry will be added in a separate if clause
right after this. We don't need it twice.
Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
Diffstat (limited to 'classes/clang.bbclass')
-rw-r--r-- | classes/clang.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/clang.bbclass b/classes/clang.bbclass index 41d1af3..44352aa 100644 --- a/classes/clang.bbclass +++ b/classes/clang.bbclass | |||
@@ -105,7 +105,7 @@ def clang_base_deps(d): | |||
105 | ret += " libcxx" | 105 | ret += " libcxx" |
106 | return ret | 106 | return ret |
107 | if (d.getVar('RUNTIME').find('llvm') != -1): | 107 | if (d.getVar('RUNTIME').find('llvm') != -1): |
108 | ret += " compiler-rt libcxx" | 108 | ret += " compiler-rt" |
109 | elif (d.getVar('COMPILER_RT').find('-rtlib=compiler-rt') != -1): | 109 | elif (d.getVar('COMPILER_RT').find('-rtlib=compiler-rt') != -1): |
110 | ret += " compiler-rt " | 110 | ret += " compiler-rt " |
111 | else: | 111 | else: |