mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
compiletest: don't pass -Clinker when // force-host was requested.
This commit is contained in:
@@ -1829,10 +1829,10 @@ fn make_compile_args(&self, input_file: &Path, output_file: TargetLocation) -> C
|
||||
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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user