File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ extension GenericUnixToolchain {
5050 case . executable:
5151 // Select the linker to use.
5252 if let arg = parsedOptions. getLastArgument ( . useLd) ? . asSingle {
53- commandLine. appendFlag ( " -- fuse-ld= \( arg) " )
53+ commandLine. appendFlag ( " -fuse-ld= \( arg) " )
5454 } else if lto != nil {
55- commandLine. appendFlag ( " -- fuse-ld=lld " )
55+ commandLine. appendFlag ( " -fuse-ld=lld " )
5656 }
5757
5858 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 {
24052405 let plannedJobs = try driver. planBuild ( ) . removingAutolinkExtractJobs ( )
24062406 let lastJob = plannedJobs. last!
24072407 XCTAssertTrue ( lastJob. tool. name. contains ( " clang " ) )
2408- XCTAssertTrue ( lastJob. commandLine. contains ( . flag( " -- fuse-ld=lld " ) ) )
2408+ XCTAssertTrue ( lastJob. commandLine. contains ( . flag( " -fuse-ld=lld " ) ) )
24092409 }
24102410 }
24112411
You canβt perform that action at this time.
0 commit comments