about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/global_asm.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/global_asm.rs b/src/global_asm.rs
index b14007f4e52..f5ecfc7a513 100644
--- a/src/global_asm.rs
+++ b/src/global_asm.rs
@@ -154,6 +154,8 @@ pub(crate) fn compile_global_asm(
         }
     } else {
         let mut child = Command::new(std::env::current_exe().unwrap())
+            // Avoid a warning about the jobserver fd not being passed
+            .env_remove("CARGO_MAKEFLAGS")
             .arg("--target")
             .arg(&config.target)
             .arg("--crate-type")