We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95a6262 commit 209240dCopy full SHA for 209240d
src/bootstrap/builder.rs
@@ -684,6 +684,11 @@ impl<'a> Builder<'a> {
684
.env("RUSTDOC_REAL", self.rustdoc(host))
685
.env("RUSTDOC_CRATE_VERSION", self.rust_version())
686
.env("RUSTC_BOOTSTRAP", "1");
687
+
688
+ // Remove make-related flags that can cause jobserver problems.
689
+ cmd.env_remove("MAKEFLAGS");
690
+ cmd.env_remove("MFLAGS");
691
692
if let Some(linker) = self.linker(host) {
693
cmd.env("RUSTC_TARGET_LINKER", linker);
694
}
0 commit comments