mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-20 20:04:19 +08:00
Fix relibc recipe
This commit is contained in:
parent
689691a2e9
commit
9d7ebb615b
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user