From 2bb4b066432a38539fa2f3e30d8279882f0b2224 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Sun, 22 Oct 2017 21:24:54 -0600
Subject: [PATCH] Use nproc for rust LLVM

---
 recipes/rust/recipe.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes/rust/recipe.sh b/recipes/rust/recipe.sh
index e1e584c39..cc3b2c7f5 100644
--- a/recipes/rust/recipe.sh
+++ b/recipes/rust/recipe.sh
@@ -35,7 +35,7 @@ function recipe_build {
     mkdir -p llvm-redox/build
     pushd llvm-redox/build
         CC=$HOST-gcc CXX=$HOST-g++ cmake "${LLVM_CMAKE_ARGS[@]}" ..
-        make -j4
+        make -j$(nproc)
         make install
     popd
 
-- 
GitLab