Skip to content
Snippets Groups Projects
Commit 647eef18 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Update relibc recipe

parent 8296057a
No related branches found
No related tags found
No related merge requests found
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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment