summaryrefslogtreecommitdiff
path: root/cmake/modules/CrossCompile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/CrossCompile.cmake')
-rw-r--r--cmake/modules/CrossCompile.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/CrossCompile.cmake b/cmake/modules/CrossCompile.cmake
index c136dfaa612e0..9c598a6a07b0f 100644
--- a/cmake/modules/CrossCompile.cmake
+++ b/cmake/modules/CrossCompile.cmake
@@ -1,4 +1,4 @@
-function(llvm_create_cross_target_internal target_name toochain buildtype)
+function(llvm_create_cross_target_internal target_name toolchain buildtype)
if(NOT DEFINED LLVM_${target_name}_BUILD)
set(LLVM_${target_name}_BUILD "${CMAKE_BINARY_DIR}/${target_name}")