summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-18 13:36:56 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-06-18 13:37:46 (GMT)
commitb8d136652fbb2c0b921d7462cb0f166491fe62d4 (patch)
treebd3702688d81aa5b51b99e183d01a704fee4eb9c
parent8896a127a634ac9fd07ad3050cbc966b3566f105 (diff)
parent2ff68c00e07c5b77baf6c1c2e6173fb07fd49353 (diff)
downloadCMake-b8d136652fbb2c0b921d7462cb0f166491fe62d4.zip
CMake-b8d136652fbb2c0b921d7462cb0f166491fe62d4.tar.gz
CMake-b8d136652fbb2c0b921d7462cb0f166491fe62d4.tar.bz2
Merge topic 'armclang-typo' into release-3.18
2ff68c00e0 ARMClang: Fix typo in -Xlinker flag Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4916
-rw-r--r--Modules/Compiler/ARMClang.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/ARMClang.cmake b/Modules/Compiler/ARMClang.cmake
index d412399..01ce91d 100644
--- a/Modules/Compiler/ARMClang.cmake
+++ b/Modules/Compiler/ARMClang.cmake
@@ -61,7 +61,7 @@ function(__armlink_set_cpu_list lang out_var)
if(__CMAKE_ARMClang_USING_armlink)
set(__linker_wrapper_flags "")
else()
- set(__linker_wrapper_flags --target=${CMAKE_${lang}_COMPILER_TARGET} -XLinker)
+ set(__linker_wrapper_flags --target=${CMAKE_${lang}_COMPILER_TARGET} -Xlinker)
endif()
execute_process(COMMAND "${CMAKE_LINKER}" ${__linker_wrapper_flags} --cpu=list