From e7f59bb39b994d82bd4446b36aa36c478340fb2a Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 12 Jan 2026 15:21:29 -0700 Subject: [PATCH] os-test-bins: include and link files from sysroot --- recipes/tests/os-test-bins/recipe.toml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/recipes/tests/os-test-bins/recipe.toml b/recipes/tests/os-test-bins/recipe.toml index 10ab2b04..a44692ac 100644 --- a/recipes/tests/os-test-bins/recipe.toml +++ b/recipes/tests/os-test-bins/recipe.toml @@ -17,11 +17,18 @@ cd "${COOKBOOK_STAGE}/usr/share/os-test" rsync -a "${COOKBOOK_SOURCE}/" "./" # Pre-compile tests for Redox -make OS=Redox CC="${CC_WRAPPER} ${GNU_TARGET}-gcc" \ - CFLAGS= CPPFLAGS= \ - LDFLAGS= EXTRA_LDFLAGS= \ - CC_FOR_BUILD="${CC_WRAPPER} cc" CFLAGS_FOR_BUILD= CPPFLAGS_FOR_BUILD= \ - LDFLAGS_FOR_BUILD= -j ${COOKBOOK_MAKE_JOBS} all +make OS=Redox \ + CC="${CC_WRAPPER} ${GNU_TARGET}-gcc" \ + CFLAGS="-I${COOKBOOK_SYSROOT}/include" \ + CPPFLAGS="-I${COOKBOOK_SYSROOT}/include" \ + LDFLAGS="-L${COOKBOOK_SYSROOT}/lib" \ + EXTRA_LDFLAGS= \ + CC_FOR_BUILD="${CC_WRAPPER} cc" \ + CFLAGS_FOR_BUILD= \ + CPPFLAGS_FOR_BUILD= \ + LDFLAGS_FOR_BUILD= \ + -j "${COOKBOOK_MAKE_JOBS}" \ + all skips=( # These tests hang