From 8d9d3ad0c3ea1ebd6568770dd4a686388db16168 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 30 Aug 2018 22:57:57 -0700 Subject: Disable generating libcxx.so as script for native and nativesdk case This confuses the libcxx build system and it tries to edit rpaths in .so files and fails miserably on libcxx.so if it is a linker script Signed-off-by: Khem Raj --- recipes-devtools/clang/libcxx_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-devtools/clang/libcxx_git.bb b/recipes-devtools/clang/libcxx_git.bb index 6bc86c7..10dd3c8 100644 --- a/recipes-devtools/clang/libcxx_git.bb +++ b/recipes-devtools/clang/libcxx_git.bb @@ -13,7 +13,7 @@ inherit cmake pythonnative PV .= "+git${SRCPV}" DEPENDS += "ninja-native" -BASEDEPENDS_remove_toolchain-clang_class-target = "libcxx" +BASEDEPENDS_remove_toolchain-clang = "libcxx" TARGET_CXXFLAGS_remove_toolchain-clang = " -stdlib=libc++ " PACKAGECONFIG ??= "unwind" @@ -56,6 +56,8 @@ EXTRA_OECMAKE += "\ ${S} \ " +EXTRA_OECMAKE_append_class-native = " -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF" +EXTRA_OECMAKE_append_class-nativesdk = " -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF" EXTRA_OECMAKE_append_libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=ON " do_compile() { -- cgit v1.2.3-54-g00ecf