Skip to content
Commit 84131133 authored by Axel Le Bourhis's avatar Axel Le Bourhis Committed by Fabio Baltieri
Browse files

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: default avatarAxel Le Bourhis <axel.lebourhis@nxp.com>
parent 1a0c852e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment