Skip to content

Commit 2a0a714

Browse files
committed
---
yaml --- r: 50063 b: refs/heads/auto c: a29934a h: refs/heads/master i: 50061: 9729367 50059: c234b64 50055: efe04bd 50047: 2213e19 v: v3
1 parent 39fe8a1 commit 2a0a714

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 9c4d804cfe421d9a48ba2f0c6d12b7c654e75964
17+
refs/heads/auto: a29934a61b0ade13ef799a9aa9e95c0be940e0f5
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167

branches/auto/src/librustc/back/link.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -849,11 +849,7 @@ pub fn link_binary(sess: Session,
849849
do cstore::iter_crate_data(cstore) |crate_num, _| {
850850
let link_args = csearch::get_link_args_for_crate(cstore, crate_num);
851851
do vec::consume(link_args) |_, link_arg| {
852-
// Linker arguments that don't begin with - are likely file names,
853-
// so they should not be necessary.
854-
if link_arg.starts_with("-") {
855-
cc_args.push(link_arg);
856-
}
852+
cc_args.push(link_arg);
857853
}
858854
}
859855

0 commit comments

Comments
 (0)