diff --git a/recipes/relibc/recipe.sh b/recipes/relibc/recipe.sh index 7a9581ba9f964b3330c2a8ca4ba976eb5072a99b..468bd31b01ba40b4913384b9e1971b96359e520f 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 }