diff --git a/meta/recipes-devtools/clang/compiler-rt-sanitizers_git.bb b/meta/recipes-devtools/clang/compiler-rt-sanitizers_git.bb
index b3c4bfcffdc..8b591b757e3 100644
--- a/meta/recipes-devtools/clang/compiler-rt-sanitizers_git.bb
+++ b/meta/recipes-devtools/clang/compiler-rt-sanitizers_git.bb
@@ -129,3 +129,4 @@ COMPATIBLE_HOST:libc-musl:x86-64 = "(.*)"
 COMPATIBLE_HOST:libc-musl:riscv64 = "(.*)"
 COMPATIBLE_HOST:libc-musl:riscv32 = "(.*)"
 COMPATIBLE_HOST:libc-musl = "null"
+COMPATIBLE_HOST:armv5 = "null"
diff --git a/meta/recipes-devtools/clang/compiler-rt_git.bb b/meta/recipes-devtools/clang/compiler-rt_git.bb
index 93928541273..d634c148508 100644
--- a/meta/recipes-devtools/clang/compiler-rt_git.bb
+++ b/meta/recipes-devtools/clang/compiler-rt_git.bb
@@ -119,3 +119,5 @@ BBCLASSEXTEND = "native nativesdk"
 ALLOW_EMPTY:${PN} = "1"
 
 SYSROOT_DIRS:append:class-target = " ${nonarch_libdir}"
+
+COMPATIBLE_HOST:armv5 = "null"
