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

configs: Enable LTO if available #2713

Merged
merged 1 commit into from
Aug 30, 2023
Merged

Conversation

agners
Copy link
Member

@agners agners commented Aug 30, 2023

The BR2_GCC_ENABLE_LTO config used to enable LTO on compiler level. That config symbol doesn't exist anymore. Instead, LTO is enabled by default with GCC.

However, there is a new flag named BR2_ENABLE_LTO which enables LTO in packages. So far it doesn't look like that packages we are using support the flag, but that might get added in the feature. Opt-in already today.

The BR2_GCC_ENABLE_LTO config used to enable LTO on compiler level. That
config symbol doesn't exist anymore. Instead, LTO is enabled by default
with GCC.

However, there is a new flag named BR2_ENABLE_LTO which enables LTO in
packages. So far it doesn't look like that packages we are using support
the flag, but that might get added in the feature. Opt-in already today.
@agners agners added the build Build and CI related issues label Aug 30, 2023
@agners agners merged commit 60ea200 into home-assistant:dev Aug 30, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build and CI related issues cla-signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant