File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 062ba22d997918f9903127d2158449a8d49134d9
2
+ refs/heads/master: 4b9e57204463fbf6fa6c96763f16319425e3f6d1
Original file line number Diff line number Diff line change @@ -509,7 +509,10 @@ fn link_binary(sess: session::session,
509
509
option:: none. { sess . fatal ( "can't find main.o" ) }
510
510
} ;
511
511
512
+ // The default library location, we need this to find the runtime.
513
+ // The location of crates will be determined as needed.
512
514
let stage: str = "-L" + sess. filesearch ( ) . get_target_lib_path ( ) ;
515
+
513
516
let prog: str = "gcc" ;
514
517
// The invocations of gcc share some flags across platforms
515
518
@@ -579,7 +582,7 @@ fn link_binary(sess: session::session,
579
582
gcc_args += [ "-lm" , main] ;
580
583
}
581
584
582
- gcc_args += [ "-Lrt" , "- lrustrt"] ;
585
+ gcc_args += [ "-lrustrt" ] ;
583
586
584
587
gcc_args += rpath:: get_rpath_flags ( sess, saved_out_filename) ;
585
588
You can’t perform that action at this time.
0 commit comments