File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -474,13 +474,13 @@ pub fn linker_flags(
474
474
if stage == 0 && target. is_windows ( ) {
475
475
args. push ( "-Clink-arg=-fuse-ld=lld" . to_string ( ) ) ;
476
476
} else {
477
- args. push ( "-Clinker-flavor=gnu- lld-cc " . to_string ( ) ) ;
477
+ args. push ( "-Zlinker-features=+ lld" . to_string ( ) ) ;
478
478
}
479
479
// FIXME(kobzol): remove this flag once MCP510 gets stabilized
480
480
args. push ( "-Zunstable-options" . to_string ( ) ) ;
481
481
}
482
482
LldMode :: SelfContained => {
483
- args. push ( "-Clinker-flavor=gnu- lld-cc " . to_string ( ) ) ;
483
+ args. push ( "-Zlinker-features=+ lld" . to_string ( ) ) ;
484
484
args. push ( "-Clink-self-contained=+linker" . to_string ( ) ) ;
485
485
// FIXME(kobzol): remove this flag once MCP510 gets stabilized
486
486
args. push ( "-Zunstable-options" . to_string ( ) ) ;
You can’t perform that action at this time.
0 commit comments