Skip to content

Conversation

adigie
Copy link
Member

@adigie adigie commented Jan 23, 2025

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)
Signed-off-by: Adrian Gielniewski <[email protected]>
@adigie
Copy link
Member Author

adigie commented Jan 31, 2025

@tejlmand Could you please take a look?

@adigie adigie requested a review from a team January 31, 2025 12:43
@adigie
Copy link
Member Author

adigie commented Feb 5, 2025

@nrfconnect/ncs-code-owners please review.

@adigie adigie closed this May 6, 2025
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.

4 participants