summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/clang.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/clang.bbclass b/classes/clang.bbclass
index 3db7036..a125d68 100644
--- a/classes/clang.bbclass
+++ b/classes/clang.bbclass
@@ -104,7 +104,9 @@ def clang_base_deps(d):
104 ret += " compiler-rt " 104 ret += " compiler-rt "
105 else: 105 else:
106 ret += " libgcc " 106 ret += " libgcc "
107 if (d.getVar('COMPILER_RT').find('--unwindlib=libunwind') != -1): 107 if (d.getVar('RUNTIME').find('llvm') != -1):
108 ret += " libcxx"
109 elif (d.getVar('COMPILER_RT').find('--unwindlib=libunwind') != -1):
108 ret += " libcxx " 110 ret += " libcxx "
109 elif (d.getVar('LIBCPLUSPLUS').find('-stdlib=libc++') != -1): 111 elif (d.getVar('LIBCPLUSPLUS').find('-stdlib=libc++') != -1):
110 ret += " libcxx " 112 ret += " libcxx "