compiletest: don't pass -Clinker when // force-host was requested.
This commit is contained in:
parent
b4e504f5b8
commit
f385589dde
1 changed files with 4 additions and 4 deletions
|
|
@ -1829,10 +1829,10 @@ impl<'test> TestCx<'test> {
|
|||
rustc.args(self.split_maybe_args(&self.config.host_rustcflags));
|
||||
} else {
|
||||
rustc.args(self.split_maybe_args(&self.config.target_rustcflags));
|
||||
}
|
||||
if !is_rustdoc {
|
||||
if let Some(ref linker) = self.config.linker {
|
||||
rustc.arg(format!("-Clinker={}", linker));
|
||||
if !is_rustdoc {
|
||||
if let Some(ref linker) = self.config.linker {
|
||||
rustc.arg(format!("-Clinker={}", linker));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue