build-gnu.sh: Skip make at SELinux tests (#9970)

This commit is contained in:
oech3
2026-01-01 12:37:37 +01:00
committed by GitHub
parent b600c257ef
commit 72a3f751eb
+1
View File
@@ -139,6 +139,7 @@ else
# Skip make if possible
# Use GNU nproc for *BSD and macOS
NPROC="$(command -v nproc||command -v gnproc)"
test "${SELINUX_ENABLED}" = 1 && touch src/getlimits # SELinux tests does not use it
test -f src/getlimits || "${MAKE}" -j "$("${NPROC}")"
cp -f src/getlimits "${UU_BUILD_DIR}"