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.
This commit is contained in:
Efraim Flashner 2023-03-15 15:11:15 +02:00
parent 62ff0b9086
commit 37399b18ef
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1999,6 +1999,8 @@ (define coreutils-boot0
(arguments (arguments
`(#:tests? #f `(#:tests? #f
#:implicit-inputs? #f #:implicit-inputs? #f
#:guile ,%bootstrap-guile
,@(package-arguments coreutils)
;; The %bootstrap-glibc for aarch64 and armhf doesn't have ;; The %bootstrap-glibc for aarch64 and armhf doesn't have
;; $output/include/linux/prctl.h which causes some binaries ;; $output/include/linux/prctl.h which causes some binaries
;; to fail to build with coreutils-9.0+. ;; to fail to build with coreutils-9.0+.
@ -2008,10 +2010,11 @@ (define coreutils-boot0
;; the defaults to not install. ;; the defaults to not install.
"arch,coreutils,hostname" "arch,coreutils,hostname"
;; fails due to missing headers. ;; fails due to missing headers.
",timeout,sort"))) ",timeout,sort")
'()) ,@(if (target-arm32?)
#:guile ,%bootstrap-guile `("--disable-year2038")
,@(package-arguments coreutils))))) `())))
'())))))
(define diffutils-boot0 (define diffutils-boot0
(package (package