From 37399b18ef70f2b32c50ea45b3bfa649bbf58f16 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Mar 2023 15:11:15 +0200 Subject: gnu: coreutils-boot0: Fix building on armhf-linux. * gnu/packages/commencement.scm (coreutils-boot0)[arguments]: When building for armhf-linux include the workaround to force 32-bit time. Rearrange arguments so that the configure-flags for armhf-linux aren't overridden. --- gnu/packages/commencement.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'gnu/packages/commencement.scm') diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index c1a40c999b..e390bf98aa 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -1999,6 +1999,8 @@ (define coreutils-boot0 (arguments `(#:tests? #f #:implicit-inputs? #f + #:guile ,%bootstrap-guile + ,@(package-arguments coreutils) ;; The %bootstrap-glibc for aarch64 and armhf doesn't have ;; $output/include/linux/prctl.h which causes some binaries ;; to fail to build with coreutils-9.0+. @@ -2008,10 +2010,11 @@ (define coreutils-boot0 ;; the defaults to not install. "arch,coreutils,hostname" ;; fails due to missing headers. - ",timeout,sort"))) - '()) - #:guile ,%bootstrap-guile - ,@(package-arguments coreutils))))) + ",timeout,sort") + ,@(if (target-arm32?) + `("--disable-year2038") + `()))) + '()))))) (define diffutils-boot0 (package -- cgit v1.2.3