Skip to content

Commit 526afcb

Browse files
committed
Set CXX_<target> in bootstrap
1 parent 74fa279 commit 526afcb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ impl Build {
450450
// FIXME: the guard against msvc shouldn't need to be here
451451
if !target.contains("msvc") {
452452
cargo.env(format!("CC_{}", target), self.cc(target))
453+
.env(format!("CXX_{}", target), self.cxx(target))
453454
.env(format!("AR_{}", target), self.ar(target).unwrap()) // only msvc is None
454455
.env(format!("CFLAGS_{}", target), self.cflags(target).join(" "));
455456
}

0 commit comments

Comments
 (0)