Fix relibc recipe

This commit is contained in:
Jeremy Soller 2019-04-10 20:39:06 -06:00
parent 689691a2e9
commit 9d7ebb615b
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -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