From 367e90775beb90e3795209dab29b428b639521cf Mon Sep 17 00:00:00 2001 From: Aidan Hobson Sayers Date: Wed, 26 Apr 2017 21:21:27 +0100 Subject: [PATCH] Make sure openssl compiles with only one core Fixes #40417 --- src/bootstrap/native.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index 726e94e49a19e..3a95aec388d30 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -306,7 +306,7 @@ pub fn openssl(build: &Build, target: &str) { println!("Configuring openssl for {}", target); build.run_quiet(&mut configure); println!("Building openssl for {}", target); - build.run_quiet(Command::new("make").current_dir(&obj)); + build.run_quiet(Command::new("make").arg("-j1").current_dir(&obj)); println!("Installing openssl for {}", target); build.run_quiet(Command::new("make").arg("install").current_dir(&obj));