Skip to content

Commit 565be48

Browse files
crabtwbrson
authored andcommitted
---
yaml --- r: 11089 b: refs/heads/master c: 98bb5b7 h: refs/heads/master i: 11087: ccf46a8 v: v3
1 parent b2d733a commit 565be48

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,5 +1,5 @@
11
---
2-
refs/heads/master: fc8a1f513d872e52c6251bae75462e62675eed75
2+
refs/heads/master: 98bb5b73a5bf4173f88b21b2f27c62971e175f54
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/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)