From b0858186348b56f4cece3b095dc6b3c0ff4a6433 Mon Sep 17 00:00:00 2001 From: Piraty Date: Tue, 28 May 2024 22:54:09 +0200 Subject: [PATCH] coreutils: proberly check y2k38 restrictions for musl1.1 --- srcpkgs/coreutils/template | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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.