diff options
author | Esben Haabendal <esben.haabendal@huawei.com> | 2022-03-16 17:28:23 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-09-08 09:08:54 -0700 |
commit | e142ab31246e9e9eca73ef6e82778469b6d1ba43 (patch) | |
tree | 107ee63e2ac5bb948da0645531ece162396ffdd0 /classes/clang.bbclass | |
parent | 6f6ae90d8d2515803d2914ace084db39d980b641 (diff) | |
download | meta-clang-e142ab31246e9e9eca73ef6e82778469b6d1ba43.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>
(cherry picked from commit c63c71b03b413a590825861e3fcb1ebed42eb98a)
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 5ce69f5..bf8c98d 100644 --- a/classes/clang.bbclass +++ b/classes/clang.bbclass | |||
@@ -108,7 +108,7 @@ def clang_base_deps(d): | |||
108 | ret += " libcxx" | 108 | ret += " libcxx" |
109 | return ret | 109 | return ret |
110 | if (d.getVar('RUNTIME').find('llvm') != -1): | 110 | if (d.getVar('RUNTIME').find('llvm') != -1): |
111 | ret += " compiler-rt libcxx" | 111 | ret += " compiler-rt" |
112 | elif (d.getVar('COMPILER_RT').find('-rtlib=compiler-rt') != -1): | 112 | elif (d.getVar('COMPILER_RT').find('-rtlib=compiler-rt') != -1): |
113 | ret += " compiler-rt " | 113 | ret += " compiler-rt " |
114 | else: | 114 | else: |