We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc8a1f5 commit 98bb5b7Copy full SHA for 98bb5b7
src/comp/back/link.rs
@@ -608,7 +608,10 @@ fn link_binary(sess: session,
608
// The location of crates will be determined as needed.
609
let stage: str = "-L" + sess.filesearch.get_target_lib_path();
610
611
- let prog: str = "gcc";
+ // In the future, FreeBSD will use clang as default compiler.
612
+ // It would be flexible to use cc (system's default C compiler)
613
+ // instead of hard-coded gcc
614
+ let prog: str = "cc";
615
// The invocations of gcc share some flags across platforms
616
617
let gcc_args =
0 commit comments