From 647eef182e8fd6c24d14e602031cf45d07153ccc Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Mon, 26 Mar 2018 20:09:16 -0600 Subject: [PATCH] Update relibc recipe --- recipes/relibc/recipe.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/recipes/relibc/recipe.sh b/recipes/relibc/recipe.sh index 7a9581ba9..468bd31b0 100644 --- a/recipes/relibc/recipe.sh +++ b/recipes/relibc/recipe.sh @@ -1,9 +1,7 @@ GIT=https://github.com/redox-os/relibc.git function recipe_build { - cp -r "$ROOT/Xargo.toml" . - xargo build --target "$TARGET" --release - xargo rustc --manifest-path src/crt0/Cargo.toml --target "$TARGET" --release -- -v --emit obj="target/$TARGET/release/crt0.o" + make skip=1 } @@ -13,7 +11,7 @@ function recipe_stage { mkdir -pv "$dest/include" cp -rv "include"/* "$dest/include" cp -rv "target/include"/* "$dest/include" - cp -v "target/$TARGET/release/libc.a" "$dest/lib" - cp -v "target/$TARGET/release/crt0.o" "$dest/lib" + cp -v "target/$TARGET/debug/libc.a" "$dest/lib" + cp -v "target/$TARGET/debug/crt0.o" "$dest/lib" skip=1 } -- GitLab