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 @@ -111,11 +111,11 @@ # the libc CMake infrastructure. Also, this is where we also check if the target # architecture is currently supported. if(LIBC_TARGET_ARCHITECTURE STREQUAL "arm") - set(LIBC_LIBC_TARGET_ARCHITECTUREITECTURE_IS_ARM TRUE) + set(LIBC_TARGET_ARCHITECTURE_IS_ARM TRUE) elseif(LIBC_TARGET_ARCHITECTURE STREQUAL "aarch64") - set(LIBC_LIBC_TARGET_ARCHITECTUREITECTURE_IS_AARCH64 TRUE) + set(LIBC_TARGET_ARCHITECTURE_IS_AARCH64 TRUE) elseif(LIBC_TARGET_ARCHITECTURE STREQUAL "x86_64") - set(LIBC_LIBC_TARGET_ARCHITECTUREITECTURE_IS_X86 TRUE) + set(LIBC_TARGET_ARCHITECTURE_IS_X86 TRUE) else() message(FATAL_ERROR "Unsupported libc target architecture ${LIBC_TARGET_ARCHITECTURE}")