From e0d029cb296e26b3a7b3c24353923573d8badd36 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Tue, 6 Jan 2026 18:34:14 +0700 Subject: [PATCH] Limit netsurf jobs --- recipes/web/netsurf/recipe.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/web/netsurf/recipe.toml b/recipes/web/netsurf/recipe.toml index b8fd4fa00..c403fafe5 100644 --- a/recipes/web/netsurf/recipe.toml +++ b/recipes/web/netsurf/recipe.toml @@ -26,6 +26,9 @@ DYNAMIC_INIT # Netsurf does not currently support out-of-tree builds :( rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +# obscure crash from sccache if jobs number is too much +COOKBOOK_MAKE_JOBS="$(( ${COOKBOOK_MAKE_JOBS} > 8 ? 8 : ${COOKBOOK_MAKE_JOBS} ))" + export TARGET="framebuffer" export CFLAGS="${CFLAGS} -I${PWD}/inst-${TARGET}/include" export LDFLAGS="${LDFLAGS} -L${COOKBOOK_SYSROOT}/lib -L${PWD}/inst-${TARGET}/lib -Wl,--allow-multiple-definition -Wl,-rpath-link,${COOKBOOK_SYSROOT}/lib"