diff options
| author | Marc-Antoine Perennou <Marc-Antoine@Perennou.com> | 2019-06-13 17:41:03 +0200 |
|---|---|---|
| committer | Marc-Antoine Perennou <Marc-Antoine@Perennou.com> | 2019-06-13 17:41:03 +0200 |
| commit | c682ac9528822215e57c1ab70b2dd306b6fbbbeb (patch) | |
| tree | cf64cb4f6a0db081f904ed97f56909cbd91b7f77 /src | |
| parent | fdecfe4ca56d5ba47662e7980f8e7335250bc6c1 (diff) | |
| download | rust-c682ac9528822215e57c1ab70b2dd306b6fbbbeb.tar.gz rust-c682ac9528822215e57c1ab70b2dd306b6fbbbeb.zip | |
rustbuild: set cxx for hosts even if not configured
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/cc_detect.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/cc_detect.rs b/src/bootstrap/cc_detect.rs index e0fef972f74..71d08ae38ef 100644 --- a/src/bootstrap/cc_detect.rs +++ b/src/bootstrap/cc_detect.rs @@ -110,7 +110,7 @@ pub fn find(build: &mut Build) { set_compiler(&mut cfg, Language::CPlusPlus, target, config, build) }; - if cxx_configured { + if cxx_configured || build.hosts.contains(&target) { let compiler = cfg.get_compiler(); build.cxx.insert(target, compiler); } |
