summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/ARMClang.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Compiler/ARMClang.cmake')
-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