Don't just check for the existence of one, but check which one was
specified last, if any.
This fixes https://llvm.org/PR51296.
Paths
| Differential D107261
[clang] [MinGW] Let the last of -mconsole/-mwindows have effect ClosedPublic Authored by mstorsjo on Aug 2 2021, 3:55 AM.
Details Summary Don't just check for the existence of one, but check which one was This fixes https://llvm.org/PR51296.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 2 2021, 4:03 PM This revision was landed with ongoing or failed builds.Aug 3 2021, 12:56 AM Closed by commit rGce49fd024b43: [clang] [MinGW] Let the last of -mconsole/-mwindows have effect (authored by mstorsjo). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 363645 clang/lib/Driver/ToolChains/MinGW.cpp
clang/test/Driver/mingw.cpp
|