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> |
||
|---|---|---|
| .. | ||
| arcmwdt | ||
| armlink | ||
| ld | ||
| lld | ||
| xt-ld | ||
| linker_flags_template.cmake | ||
| linker_libraries_native.cmake | ||
| linker_libraries_template.cmake | ||
| linker_script_common.cmake | ||
| target_template.cmake | ||