diff --git a/recipes-devtools/clang/lldb_%.bbappend b/recipes-devtools/clang/lldb_%.bbappend
index 39734d8..7fe8cb3 100644
--- a/recipes-devtools/clang/lldb_%.bbappend
+++ b/recipes-devtools/clang/lldb_%.bbappend
@@ -57,9 +57,9 @@ INSANE_SKIP:${PN}:class-nativesdk:darwin21 += " file-rdeps"
 EXTRA_PYTHON_DEPENDS:class-nativesdk:darwin21 = ""
 
 # lldb's macOS host support is Objective-C++ (Host.mm etc.), which the Darwin
-# cross-GCC can't compile. Build with the clang-crosssdk compiler instead, with
-# the same toolchain-clang adjustments as the nativesdk-clang bbappend.
-PREFERRED_TOOLCHAIN_SDK = "clang"
+# cross-GCC can't compile. Build it with the clang-crosssdk compiler, with the
+# same toolchain-clang adjustments as the nativesdk-clang bbappend.
+TOOLCHAIN:pn-lldb-nativesdk = "${@'clang' if d.getVar('SDK_OS').startswith('darwin') else d.getVar('PREFERRED_TOOLCHAIN_SDK')}"
 
 COMPILER_RT:class-nativesdk:toolchain-clang:runtime-llvm:darwin21 = ""
 LIBCPLUSPLUS:class-nativesdk:toolchain-clang:darwin21 = " -stdlib=libstdc++"
