-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
clang mingw driver -mconsole doesn't override earlier -mwindows #50638
Labels
bugzilla
Issues migrated from bugzilla
Comments
This was fixed in ce49fd0 |
I think this one is small and trivial enough to warrant backporting to 13.x. |
Merged: 58811fd |
mentioned in issue #51489 |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Extended Description
I'm running into a situation where a pkg-config file is providing a -mwindows argument, but later the program being built explicitly specified -mconsole. On gcc, this seems to be respected but with clang -mwindows seems to always win.
llvm-project/clang/lib/Driver/ToolChains/MinGW.cpp
Lines 139 to 145 in d28af7c
The text was updated successfully, but these errors were encountered: