We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d2d6b6 + 91c7d8e commit f4e80ecCopy full SHA for f4e80ec
Sources/SwiftDriver/Jobs/LinkJob.swift
@@ -64,7 +64,6 @@ extension Driver {
64
targetInfo: frontendTargetInfo
65
)
66
67
- // TODO: some, but not all, linkers support response files.
68
return Job(
69
moduleName: moduleOutputInfo.name,
70
kind: .link,
@@ -73,7 +72,10 @@ extension Driver {
73
72
displayInputs: inputs,
74
inputs: inputs,
75
primaryInputs: [],
76
- outputs: [.init(file: outputFile.intern(), type: .image)]
+ outputs: [.init(file: outputFile.intern(), type: .image)],
+ // FIXME: newer ld64 supports response files as well, though really,
77
+ // Darwin should use clang as the linker driver like the other targets
78
+ supportsResponseFiles: !frontendTargetInfo.target.triple.isDarwin
79
80
}
81
0 commit comments