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 @@ -2405,7 +2405,7 @@ final class SwiftDriverTests: XCTestCase {
2405
2405
let plannedJobs = try driver. planBuild ( ) . removingAutolinkExtractJobs ( )
2406
2406
let lastJob = plannedJobs. last!
2407
2407
XCTAssertTrue ( lastJob. tool. name. contains ( " clang " ) )
2408
- XCTAssertTrue ( lastJob. commandLine. contains ( . flag( " -- fuse-ld=lld " ) ) )
2408
+ XCTAssertTrue ( lastJob. commandLine. contains ( . flag( " -fuse-ld=lld " ) ) )
2409
2409
}
2410
2410
}
2411
2411
You can’t perform that action at this time.
0 commit comments