diff --git a/memory-constraints.changes b/memory-constraints.changes index 130245b..9df30c7 100644 --- a/memory-constraints.changes +++ b/memory-constraints.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 9 11:29:51 UTC 2025 - Guillaume GARDET + +- Also set _smp_build_ncpus to fix usage with meson macro and + maybe others + ------------------------------------------------------------------- Tue Jun 29 14:50:50 UTC 2021 - Andreas Schneider diff --git a/memory-constraints.macros b/memory-constraints.macros index e06c46a..54385c7 100644 --- a/memory-constraints.macros +++ b/memory-constraints.macros @@ -24,4 +24,5 @@ fi \ %global jobs $([[ -n $_threads ]] && echo $_threads || echo "`/usr/bin/getconf _NPROCESSORS_ONLN`") \ %global _smp_mflags $([[ -n $_threads ]] && echo "-j$_threads" || echo "-j`/usr/bin/getconf _NPROCESSORS_ONLN`") \ + %global _smp_build_ncpus $([[ -n $_threads ]] && echo "$_threads" || echo "`/usr/bin/getconf _NPROCESSORS_ONLN`") \ %{nil}