5447f701
by Jacek Caban at 2026-03-09T22:51:01+01:00
tools: Treat -windows-gnu target as an LLVM-based toolchain.
This distinguishes -windows-gnu from -w64-mingw32 based on what Wine tools
expect from the compiler. It is now assumed that the underlying toolchain is
LLVM and, similarly to the MSVC -windows target, the -target argument is always
passed instead of requiring $(CC) to be configured for a specific target.
That this does not affect --with-mingw=llvm-mingw builds, which, like other
typical mingw distributions, use -w64-mingw32. Those still do not use the
-target argument in winebuild and rely on target-specific compiler driver
aliases anyway.