From 342f5d5cd78096bf81fe1ed879c5a8fa5ab21950 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 1 Sep 2018 13:16:18 -0700 Subject: lld: Do not use libcxx for native and nativesdk variants Signed-off-by: Khem Raj --- recipes-devtools/clang/lld_git.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes-devtools/clang/lld_git.bb b/recipes-devtools/clang/lld_git.bb index fac7081..01a8d5e 100644 --- a/recipes-devtools/clang/lld_git.bb +++ b/recipes-devtools/clang/lld_git.bb @@ -6,7 +6,8 @@ HOMEPAGE = "http://lld.llvm.org/" LICENSE = "MIT | NCSA" SECTION = "devel" -DEPENDS += "clang-native libcxx libxml2 ninja-native" +DEPENDS += "clang-native libxml2 ninja-native" +DEPENDS_append_class-target = " libcxx" require clang.inc require common.inc @@ -38,7 +39,7 @@ EXTRA_OECMAKE = "\ -G Ninja \ ${S} \ " -CXXFLAGS_append_toolchain-clang = " -stdlib=libc++" +CXXFLAGS_append_class-target_toolchain-clang = " -stdlib=libc++" do_compile() { ninja ${PARALLEL_MAKE} lld @@ -47,4 +48,5 @@ do_compile() { do_install() { DESTDIR=${D} ninja ${PARALLEL_MAKE} tools/lld/install } + BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf