me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 7 additions and 4 deletions

View File

@ -1999,6 +1999,8 @@ exec " gcc "/bin/" program
(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 @@ exec " gcc "/bin/" program
;; 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