From 9fd4604241d39e019eb969ec2e61b159623c56d1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 26 Jan 2019 13:44:18 -0800 Subject: compiler-rt,libcxx: Remove --rtlib=compiler-rt This avoids catch-22 Signed-off-by: Khem Raj --- recipes-devtools/clang/compiler-rt_git.bb | 1 + recipes-devtools/clang/libcxx_git.bb | 1 + 2 files changed, 2 insertions(+) diff --git a/recipes-devtools/clang/compiler-rt_git.bb b/recipes-devtools/clang/compiler-rt_git.bb index 2cfbf71..e59a65d 100644 --- a/recipes-devtools/clang/compiler-rt_git.bb +++ b/recipes-devtools/clang/compiler-rt_git.bb @@ -18,6 +18,7 @@ LIC_FILES_CHKSUM = "file://compiler-rt/LICENSE.TXT;md5=f981c4637a4cd67915ac527b3 BASEDEPENDS_remove_toolchain-clang_class-target = "compiler-rt libcxx" CXX_remove_toolchain-clang = "-stdlib=libc++" TARGET_CXXFLAGS_remove_toolchain-clang = "-stdlib=libc++" +TUNE_CCARGS_remove_toolchain-clang = "--rtlib=compiler-rt" TUNE_CCARGS_remove = "-no-integrated-as" DEPENDS += "ninja-native" DEPENDS_append_class-nativesdk = " clang-native" diff --git a/recipes-devtools/clang/libcxx_git.bb b/recipes-devtools/clang/libcxx_git.bb index 28ea5eb..b36dede 100644 --- a/recipes-devtools/clang/libcxx_git.bb +++ b/recipes-devtools/clang/libcxx_git.bb @@ -15,6 +15,7 @@ DEPENDS += "ninja-native" BASEDEPENDS_remove_toolchain-clang = "libcxx" CXX_remove_toolchain-clang = "-stdlib=libc++" TARGET_CXXFLAGS_remove_toolchain-clang = "-stdlib=libc++" +TUNE_CCARGS_remove_toolchain-clang = "--rtlib=compiler-rt" PACKAGECONFIG ??= "unwind" PACKAGECONFIG_powerpc = "" -- cgit v1.2.3-54-g00ecf