coreutils: proberly check y2k38 restrictions for musl1.1

This commit is contained in:
Piraty 2024-05-28 22:54:09 +02:00
parent fde7fac581
commit b085818634
No known key found for this signature in database
GPG Key ID: 82F2CC796BD07077
1 changed files with 5 additions and 4 deletions

View File

@ -55,11 +55,12 @@ do_configure() {
# XXX syncfs() in src/sync.c expects a return value.
*-musl) configure_args+=" ac_cv_func_syncfs=no";;
esac
case "$XBPS_TARGET_MACHINE" in
arm*-musl)
# musl 1.1
# (y2k38) This can be removed once musl is updated to 1.2.x
if [ "$XBPS_TARGET_LIBC" = "musl" ] && [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
configure_args+=" --disable-year2038"
esac
fi
#
# Do not install kill: provided by util-linux.
# Do not install uptime: provided by procps-ng.