diff --git a/srcpkgs/coreutils/template b/srcpkgs/coreutils/template index 56ee80ade41..e83bd71f18a 100644 --- a/srcpkgs/coreutils/template +++ b/srcpkgs/coreutils/template @@ -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.