Skip to content

Use -flto=auto for GCC builds #570

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

Merged
merged 1 commit into from
Mar 21, 2025
Merged

Use -flto=auto for GCC builds #570

merged 1 commit into from
Mar 21, 2025

Conversation

solidpixel
Copy link
Contributor

@solidpixel solidpixel commented Mar 21, 2025

GCC generates log warnings if you use -flto without a core count
parameter, so modify the build to specify an auto core count.

Fixes #560

@solidpixel solidpixel changed the title Add -flto=auto for GCC builds Use -flto=auto for GCC builds Mar 21, 2025
@solidpixel solidpixel merged commit c5cdc6a into main Mar 21, 2025
9 checks passed
@solidpixel solidpixel deleted the flto branch March 21, 2025 22:48
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.

Fix GCC lto-wrapper: warning: using serial compilation of 8 LTRANS jobs warning
1 participant