diff --git a/util/build-gnu.sh b/util/build-gnu.sh index 3d2b509a2..cb23f0ad0 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -140,7 +140,8 @@ else # Change the PATH to test the uutils coreutils instead of the GNU coreutils sed -i "s/^[[:blank:]]*PATH=.*/ PATH='${UU_BUILD_DIR//\//\\/}\$(PATH_SEPARATOR)'\"\$\$PATH\" \\\/" tests/local.mk ./bootstrap --skip-po - ./configure --quiet --disable-gcc-warnings --disable-nls --disable-dependency-tracking --disable-bold-man-page-references + ./configure --quiet --disable-gcc-warnings --disable-nls --disable-dependency-tracking --disable-bold-man-page-references \ + "$([ ${SELINUX_ENABLED} = 1 ] && echo --with-selinux || echo --without-selinux)" #Add timeout to to protect against hangs sed -i 's|^"\$@|'"${SYSTEM_TIMEOUT}"' 600 "\$@|' build-aux/test-driver sed -i 's| tr | /usr/bin/tr |' tests/init.sh