Skip to content

Commit 308c5b0

Browse files
crabtwbrson
authored andcommitted
---
yaml --- r: 14095 b: refs/heads/try c: 98bb5b7 h: refs/heads/master i: 14093: 4b87e4b 14091: 7aa94f7 14087: 9416153 14079: 959e38f v: v3
1 parent 45be767 commit 308c5b0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: fc8a1f513d872e52c6251bae75462e62675eed75
5+
refs/heads/try: 98bb5b73a5bf4173f88b21b2f27c62971e175f54
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/comp/back/link.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,10 @@ fn link_binary(sess: session,
608608
// The location of crates will be determined as needed.
609609
let stage: str = "-L" + sess.filesearch.get_target_lib_path();
610610

611-
let prog: str = "gcc";
611+
// 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";
612615
// The invocations of gcc share some flags across platforms
613616

614617
let gcc_args =

0 commit comments

Comments
 (0)