Skip to content

Prefer gcc-ar and gcc-ranlib and warn if falling back to ar with LTO - #2076

Open
dsnopek wants to merge 1 commit into
godotengine:masterfrom
dsnopek:gcc-ar
Open

dsnopek wants to merge 1 commit into
godotengine:masterfrom
dsnopek:gcc-ar

Conversation

@dsnopek

@dsnopek dsnopek commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

I got an error when building with MingW and LTO on Windows, because it wasn't using gcc-ar

This PR switches to preferring gcc-ar and gcc-ranlib and giving a warning similar to godotengine/godot#124505 if falling back to ar with LTO

@dsnopek dsnopek added this to the 10.x milestone Oct 21, 2026
@dsnopek
dsnopek requested a review from a team as a code owner October 21, 2026 14:01
@dsnopek dsnopek added bug This has been identified as a bug topic:buildsystem Related to the buildsystem or CI setup labels Oct 21, 2026
@dsnopek
dsnopek requested a review from a team October 21, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This has been identified as a bug topic:buildsystem Related to the buildsystem or CI setup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant