mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
build-gnu.sh: Skip make at SELinux tests (#9970)
This commit is contained in:
@@ -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}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user