Skip to content

Commit 06c3d9a

Browse files
crabtwbrson
authored andcommitted
---
yaml --- r: 8109 b: refs/heads/snap-stage3 c: 98bb5b7 h: refs/heads/master i: 8107: 9e4714c v: v3
1 parent ed997f1 commit 06c3d9a

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
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: fc8a1f513d872e52c6251bae75462e62675eed75
4+
refs/heads/snap-stage3: 98bb5b73a5bf4173f88b21b2f27c62971e175f54
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/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)