Skip to content

Conversation

tejlmand
Copy link
Contributor

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

(cherry picked from commit 8413113)

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 <[email protected]>
(cherry picked from commit 8413113)
Copy link

@tejlmand tejlmand merged commit aa34a56 into nrfconnect:v3.7.99-ncs2-branch May 16, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants