[libc][Obvious] Fix typos in LLVMLibCArchitectures.cmake defining target architectures.

Fix typos in LLVMLibCArchitectures.cmake defining target architectures.

Differential Revision: https://reviews.llvm.org/D141314
This commit is contained in:
Tue Ly
2023-01-09 15:11:24 -05:00
parent a5519b99bc
commit 05727d94de

View File

@@ -111,11 +111,11 @@ endif()
# 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}")