Skip to content

Commit 5cd1d6a

Browse files
oech3sgmarz
authored andcommitted
build-gnu.sh: Skip make at SELinux tests (uutils#9970)
1 parent 5c45d87 commit 5cd1d6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

util/build-gnu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ else
139139
# Skip make if possible
140140
# Use GNU nproc for *BSD and macOS
141141
NPROC="$(command -v nproc||command -v gnproc)"
142+
test "${SELINUX_ENABLED}" = 1 && touch src/getlimits # SELinux tests does not use it
142143
test -f src/getlimits || "${MAKE}" -j "$("${NPROC}")"
143144
cp -f src/getlimits "${UU_BUILD_DIR}"
144145

0 commit comments

Comments
 (0)