-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Do not pass -framework
to compiler tasks
#3304
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
Do not pass -framework
to compiler tasks
#3304
Conversation
@swift-ci please smoke test |
The diffs look good but it seems that we're also passing |
Compiler invocations for either language want -F, but not -framework. |
Right, that's what I thought was still the case. @neonichu while you're at it, would you mind then also removing the ones we're still passing to Swift? |
This fixes warnings of the form > clang: warning: -framework XCTest: 'linker' input unused [-Wunused-command-line-argument] when using `linkedFramework` for C-family and Swift targets. rdar://74548652
3e4249b
to
2642d0c
Compare
@swift-ci please smoke test |
-framework
to clang tasks-framework
to compiler tasks
🕺 |
@swift-ci please smoke test linux |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for fixing the Swift compiler too!
This fixes warnings of the form
when using
linkedFramework
for C-family and Swift targets.rdar://74548652