summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEsben Haabendal <esben.haabendal@huawei.com>2022-03-16 17:28:23 +0100
committerKhem Raj <raj.khem@gmail.com>2023-09-08 09:08:54 -0700
commite142ab31246e9e9eca73ef6e82778469b6d1ba43 (patch)
tree107ee63e2ac5bb948da0645531ece162396ffdd0
parent6f6ae90d8d2515803d2914ace084db39d980b641 (diff)
downloadmeta-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)
-rw-r--r--classes/clang.bbclass2
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: