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(
474474 if stage == 0 && target. is_windows ( ) {
475475 args. push ( "-Clink-arg=-fuse-ld=lld" . to_string ( ) ) ;
476476 } else {
477- args. push ( "-Clinker-flavor=gnu- lld-cc " . to_string ( ) ) ;
477+ args. push ( "-Zlinker-features=+ lld" . to_string ( ) ) ;
478478 }
479479 // FIXME(kobzol): remove this flag once MCP510 gets stabilized
480480 args. push ( "-Zunstable-options" . to_string ( ) ) ;
481481 }
482482 LldMode :: SelfContained => {
483- args. push ( "-Clinker-flavor=gnu- lld-cc " . to_string ( ) ) ;
483+ args. push ( "-Zlinker-features=+ lld" . to_string ( ) ) ;
484484 args. push ( "-Clink-self-contained=+linker" . to_string ( ) ) ;
485485 // FIXME(kobzol): remove this flag once MCP510 gets stabilized
486486 args. push ( "-Zunstable-options" . to_string ( ) ) ;
You can’t perform that action at this time.
0 commit comments