Skip to content

Commit c1cc118

Browse files
marc-hbcarlescufi
authored andcommitted
cmake: remove spurious parenthese just added to xt-ld/linker_flags
Fixes commit 9a9e252 ("cmake: linker: move toolchain_ld_<base|cpp> to linker flag property") Fixes failure: ``` CMake Error at zephyr/cmake/linker/xt-ld/linker_flags.cmake:32: Parse error. Expected a command name, got right paren with text ")". Call Stack (most recent call first): zephyr/cmake/target_toolchain_flags.cmake:42 (include) zephyr/cmake/modules/kernel.cmake:148 (include) zephyr/cmake/modules/zephyr_default.cmake:142 (include) zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boi ``` Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent 82613fb commit c1cc118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/linker/xt-ld/linker_flags.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ check_set_linker_property(TARGET linker PROPERTY orphan_error
2929
set_property(TARGET linker PROPERTY partial_linking "-r")
3030

3131
check_set_linker_property(TARGET linker PROPERTY no_relax ${LINKERFLAGPREFIX},--no-relax)
32-
)
32+
3333
check_set_linker_property(TARGET linker PROPERTY sort_alignment
3434
${LINKERFLAGPREFIX},--sort-common=descending
3535
${LINKERFLAGPREFIX},--sort-section=alignment

0 commit comments

Comments
 (0)