zephyr/cmake/linker
Axel Le Bourhis 841311330b cmake: linker: ld: fix duplicate LINK_FLAGS
Original implementation of `toolchain_linker_finalize` duplicates
the `LINK_FLAGS` in the link command. This can cause some problems
like duplicate definitions when using link options like
`--whole-archive`.

This commit fixes it by removing the duplicate `LINK_FLAGS`.

Fixes #82281

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2024-12-02 22:08:21 +00:00
..
arcmwdt cmake: extensions: use INTERFACE_SOURCES as property for code relocation 2024-11-16 13:35:36 -05:00
armlink device: export CMake pre-load from device subsystem enumeration script 2024-11-27 08:15:22 +01:00
ld cmake: linker: ld: fix duplicate LINK_FLAGS 2024-12-02 22:08:21 +00:00
lld cmake: lld: Remove duplicate -fuse-ld=lld 2024-11-16 15:56:42 -05:00
xt-ld cmake: set minimal C++ linker properties in minimal C++ CMake impl 2024-11-16 15:28:20 -05:00
linker_flags_template.cmake cmake: move specs compiler and linker flags to toolchain properties 2024-10-04 16:34:35 +01:00
linker_libraries_native.cmake cmake: source dedicated linker library properties for native builds 2024-11-16 15:28:20 -05:00
linker_libraries_template.cmake cmake: improve Zephyr link phase 2024-10-04 16:34:35 +01:00
linker_script_common.cmake device: export CMake pre-load from device subsystem enumeration script 2024-11-27 08:15:22 +01:00
target_template.cmake cmake: improve Zephyr link phase 2024-10-04 16:34:35 +01:00