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