From 3f33dbfcfc6a218c636e859833208c57579ddfdc Mon Sep 17 00:00:00 2001 From: Wildan M Date: Sat, 13 Dec 2025 08:00:38 +0700 Subject: [PATCH] Fix relibc-tests compilation --- recipes/tests/relibc-tests/recipe.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes/tests/relibc-tests/recipe.toml b/recipes/tests/relibc-tests/recipe.toml index 8f587bb5..fa0acf92 100644 --- a/recipes/tests/relibc-tests/recipe.toml +++ b/recipes/tests/relibc-tests/recipe.toml @@ -1,6 +1,5 @@ [source] -git = "https://gitlab.redox-os.org/redox-os/relibc.git" -branch = "master" +same_as = "../../core/relibc" [build] template = "custom" @@ -8,7 +7,7 @@ script = """ rsync -av --delete "${COOKBOOK_SOURCE}/" ./ pushd tests export CARGO_TEST="${COOKBOOK_CARGO}" -export NATIVE_RELIBC=0 # set 0 to link against relibc +export NATIVE_RELIBC=1 # to link against prefix "${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" all bins_verify/relibc-tests popd mkdir -pv "${COOKBOOK_STAGE}/share/relibc"