Skip to content

Commit 7ac1e00

Browse files
oech3oech3
authored andcommitted
build-gnu.sh: Do not build GNU coreutils for faster CI
1 parent 29adc24 commit 7ac1e00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

util/build-gnu.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ if test -f gnu-built; then
130130
else
131131
# Disable useless checks
132132
sed -i 's|check-texinfo: $(syntax_checks)|check-texinfo:|' doc/local.mk
133+
export CFLAGS="${CFLAGS} -pipe -std=gnu23"
133134
./bootstrap --skip-po
134135
./configure --quiet --disable-gcc-warnings --disable-nls --disable-dependency-tracking --disable-bold-man-page-references \
135136
"$([ "${SELINUX_ENABLED}" = 1 ] && echo --with-selinux || echo --without-selinux)"
@@ -138,7 +139,7 @@ else
138139
sed -i 's| tr | /usr/bin/tr |' tests/init.sh
139140
# Use a better diff
140141
sed -i 's|diff -c|diff -u|g' tests/Coreutils.pm
141-
"${MAKE}" -j "$("${NPROC}")"
142+
"${MAKE}" -j "$("${NPROC}")" src/getlimits # needed for tests
142143

143144
# Handle generated factor tests
144145
t_first=00

0 commit comments

Comments
 (0)