summaryrefslogtreecommitdiff
path: root/compiler-rt/cmake
diff options
context:
space:
mode:
authorHans Wennborg <hans@chromium.org>2023-05-02 10:31:37 +0200
committerHans Wennborg <hans@chromium.org>2023-05-02 10:31:37 +0200
commit55224bc55cb4dd569808f340a9d3a02f24ab72ce (patch)
tree99f081063f9ff5e15eafdd9d8eecf14a25df2ca6 /compiler-rt/cmake
parent95d4506dda79d49e55fdd0e4da7bf81487167aa1 (diff)
downloadllvm-55224bc55cb4dd569808f340a9d3a02f24ab72ce.tar.gz
Typo fix
Diffstat (limited to 'compiler-rt/cmake')
-rw-r--r--compiler-rt/cmake/Modules/CompilerRTUtils.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/cmake/Modules/CompilerRTUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
index f15917f7872b..25e7823716fc 100644
--- a/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
+++ b/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
@@ -359,7 +359,7 @@ macro(construct_compiler_rt_default_triple)
message(FATAL_ERROR "COMPILER_RT_DEFAULT_TARGET_TRIPLE isn't supported when building for default target only")
endif()
if ("${CMAKE_C_COMPILER_TARGET}" STREQUAL "")
- message(FATAL_ERROR "CMAKE_C_COMPILER_TARGET must also be set when COMPILER_RT_DEFAUT_TARGET_ONLY is ON")
+ message(FATAL_ERROR "CMAKE_C_COMPILER_TARGET must also be set when COMPILER_RT_DEFAULT_TARGET_ONLY is ON")
endif()
message(STATUS "cmake c compiler target: ${CMAKE_C_COMPILER_TARGET}")
set(COMPILER_RT_DEFAULT_TARGET_TRIPLE ${CMAKE_C_COMPILER_TARGET})