diff --git a/libc/cmake/modules/LLVMLibCArchitectures.cmake b/libc/cmake/modules/LLVMLibCArchitectures.cmake --- a/libc/cmake/modules/LLVMLibCArchitectures.cmake +++ b/libc/cmake/modules/LLVMLibCArchitectures.cmake @@ -163,6 +163,9 @@ set(LIBC_TARGET_OS_IS_BAREMETAL TRUE) elseif(LIBC_TARGET_OS STREQUAL "linux") set(LIBC_TARGET_OS_IS_LINUX TRUE) +elseif(LIBC_TARGET_OS STREQUAL "poky") + set(LIBC_TARGET_OS_IS_LINUX TRUE) + set(LIBC_TARGET_OS "linux") elseif(LIBC_TARGET_OS STREQUAL "darwin") set(LIBC_TARGET_OS_IS_DARWIN TRUE) elseif(LIBC_TARGET_OS STREQUAL "windows")