From 04a07650fc2f28935ff08985aea634ce05a4633d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 19 May 2021 23:37:46 -0700 Subject: compiler-rt-sanitizers: Limit to buildable arch/libc combinations Signed-off-by: Khem Raj (cherry picked from commit 6a442a8a3b6b898c90ae1e25216810cf0022e8ad) --- recipes-devtools/clang/compiler-rt-sanitizers_git.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-devtools/clang/compiler-rt-sanitizers_git.bb b/recipes-devtools/clang/compiler-rt-sanitizers_git.bb index aa3a9ac..50fc865 100644 --- a/recipes-devtools/clang/compiler-rt-sanitizers_git.bb +++ b/recipes-devtools/clang/compiler-rt-sanitizers_git.bb @@ -95,3 +95,9 @@ ALLOW_EMPTY_${PN}-dev = "1" TOOLCHAIN_forcevariable = "clang" SYSROOT_DIRS_append_class-target = " ${nonarch_libdir}" + +# riscv and x86_64 Sanitizers work on musl too +COMPATIBLE_HOST_libc-musl_x86-64 = "(.*)" +COMPATIBLE_HOST_libc-musl_riscv64 = "(.*)" +COMPATIBLE_HOST_libc-musl_riscv32 = "(.*)" +COMPATIBLE_HOST_libc-musl = "null" -- cgit v1.2.3-54-g00ecf