Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable LTO support #181

Merged
merged 1 commit into from
Jan 24, 2022
Merged

Conversation

Yannicked
Copy link
Contributor

Currently, this platform does not play nicely with GCCs Link Time Optimisation (enabled using the -flto flag). Due to the absence of the LTO plugin in binutils' ar. This can be fixed by using the respective arm-none-eabi-gcc-ar variant which is already included in the toolchain-gccarmnoneeabi package

The stm32 platform has already implemented the same enhancement: platformio/platform-ststm32#419

@valeros valeros merged commit b7a3dc7 into platformio:develop Jan 24, 2022
@valeros
Copy link
Member

valeros commented Jan 24, 2022

Thanks for the PR, merged.

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.

2 participants