bootstrap: use same make flags with rustdoc
Keeping same `MAKEFLAGS` and `MFLAGS` for rustdoc should allow rustdoc to use the same jobserver. Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
f736079c3c
commit
c350d3c5dd
@ -1221,11 +1221,6 @@ impl<'a> Builder<'a> {
|
||||
cmd.arg("-Dwarnings");
|
||||
}
|
||||
cmd.arg("-Znormalize-docs");
|
||||
|
||||
// Remove make-related flags that can cause jobserver problems.
|
||||
cmd.env_remove("MAKEFLAGS");
|
||||
cmd.env_remove("MFLAGS");
|
||||
|
||||
cmd.args(linker_args(self, compiler.host, LldThreads::Yes));
|
||||
cmd
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user