zephyr/cmake/linker/ld
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
..
clang cmake: linker: move toolchain_ld_<base|cpp> to linker flag property 2024-09-04 21:26:59 +02:00
gcc cmake: move specs compiler and linker flags to toolchain properties 2024-10-04 16:34:35 +01:00
host-gcc
ld_script.cmake cmake: Update cmake_minimum_required to 3.20.0 2022-07-04 10:18:45 +02:00
linker_flags.cmake cmake: gcc/ld: Fix LTO warnings 2024-10-25 18:49:07 +01:00
linker_libraries.cmake cmake: source dedicated linker library properties for native builds 2024-11-16 15:28:20 -05:00
target_configure.cmake include: Prefix includes to use a scope 2022-04-08 19:03:32 +02:00
target_relocation.cmake cmake: extensions: use INTERFACE_SOURCES as property for code relocation 2024-11-16 13:35:36 -05:00
target.cmake cmake: linker: ld: fix duplicate LINK_FLAGS 2024-12-02 22:08:21 +00:00