From 9d7ebb615bc86e3cb35cbc49e183ed579b2f2404 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jeremy@system76.com>
Date: Wed, 10 Apr 2019 20:39:06 -0600
Subject: [PATCH] Fix relibc recipe

---
 recipes/relibc/recipe.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes/relibc/recipe.sh b/recipes/relibc/recipe.sh
index 1807bcc96..ff492a05e 100644
--- a/recipes/relibc/recipe.sh
+++ b/recipes/relibc/recipe.sh
@@ -1,14 +1,14 @@
 GIT=https://gitlab.redox-os.org/redox-os/relibc.git
 
 function recipe_build {
-    make -j"$(nproc)"
-    make -C tests -j"$(nproc)"
+    make CARGO=xargo -j"$(nproc)"
+    make CARGO=xargo -C tests -j"$(nproc)"
     skip=1
 }
 
 function recipe_stage {
     dest="$(realpath $1)"
-    make DESTDIR="$dest" install
+    make CARGO=xargo DESTDIR="$dest" install
     mkdir -pv "$dest/share/relibc"
     cp -rv "tests" "$dest/share/relibc/tests"
     skip=1
-- 
GitLab