diff options
author | Osama Moharam <osama.moharam.uw@renesas.com> | 2020-06-18 11:38:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-18 11:43:22 (GMT) |
commit | 2ff68c00e07c5b77baf6c1c2e6173fb07fd49353 (patch) | |
tree | c2fcced4fa96172f508acb5aa7a6a48525646cbc /Modules/Compiler/ARMClang.cmake | |
parent | 843c39bf47674460a63936de2dd97e8b536bd680 (diff) | |
download | CMake-2ff68c00e07c5b77baf6c1c2e6173fb07fd49353.zip CMake-2ff68c00e07c5b77baf6c1c2e6173fb07fd49353.tar.gz CMake-2ff68c00e07c5b77baf6c1c2e6173fb07fd49353.tar.bz2 |
ARMClang: Fix typo in -Xlinker flag
Fix a typo from commit ef816610be (ARMClang: allow fallback to -march
and correct setting of --cpu flags, 2020-06-03, v3.18.0-rc1~18^2).
Diffstat (limited to 'Modules/Compiler/ARMClang.cmake')
-rw-r--r-- | Modules/Compiler/ARMClang.cmake | 2 |
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 |