X Tutup
Skip to content

Check for unprefixed compilers when building on Windows.#113814

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
bruvzg:win_detect
Dec 11, 2025
Merged

Check for unprefixed compilers when building on Windows.#113814
Repiteo merged 1 commit intogodotengine:masterfrom
bruvzg:win_detect

Conversation

@bruvzg
Copy link
Member

@bruvzg bruvzg commented Dec 9, 2025

Partially fixes - #113798 (MinGW detection).

While get_detected can select both prefixed (x86_64-w64-mingw32-gcc) and unprefixed (gcc) compiler, check for valid compilers (try_cmd) was checking for prefixed only. This reasonable when cross-building, but for native Windows build it should be safe to assume unprefixed compiler if for current Windows platform.

@bruvzg bruvzg added this to the 4.6 milestone Dec 9, 2025
@bruvzg bruvzg marked this pull request as ready for review December 10, 2025 07:39
@bruvzg bruvzg requested a review from a team as a code owner December 10, 2025 07:39
@Repiteo Repiteo merged commit 0bc58d1 into godotengine:master Dec 11, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Dec 11, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup