File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ extension GenericUnixToolchain {
50
50
case . executable:
51
51
// Select the linker to use.
52
52
if let arg = parsedOptions. getLastArgument ( . useLd) ? . asSingle {
53
- commandLine. appendFlag ( " -- fuse-ld= \( arg) " )
53
+ commandLine. appendFlag ( " -fuse-ld= \( arg) " )
54
54
} else if lto != nil {
55
- commandLine. appendFlag ( " -- fuse-ld=lld " )
55
+ commandLine. appendFlag ( " -fuse-ld=lld " )
56
56
}
57
57
58
58
if let arg = parsedOptions. getLastArgument ( . ldPath) ? . asSingle {
Original file line number Diff line number Diff line change @@ -2372,7 +2372,7 @@ final class SwiftDriverTests: XCTestCase {
2372
2372
let plannedJobs = try driver. planBuild ( ) . removingAutolinkExtractJobs ( )
2373
2373
let lastJob = plannedJobs. last!
2374
2374
XCTAssertTrue ( lastJob. tool. name. contains ( " clang " ) )
2375
- XCTAssertTrue ( lastJob. commandLine. contains ( . flag( " -- fuse-ld=lld " ) ) )
2375
+ XCTAssertTrue ( lastJob. commandLine. contains ( . flag( " -fuse-ld=lld " ) ) )
2376
2376
}
2377
2377
}
2378
2378
You can’t perform that action at this time.
0 commit comments