gnu: coreutils-boot0: Fix building on arm architectures.

* gnu/packages/commencement.scm (coreutils-boot0)[arguments]: When
building for arm architectures skip building some programs.
This commit is contained in:
Efraim Flashner 2022-12-11 22:35:06 +02:00
parent 6454208222
commit 9782c45292
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -1969,6 +1969,15 @@ exec " gcc "/bin/" program
(arguments
`(#:tests? #f
#:implicit-inputs? #f
,@(if (target-arm?)
;; Some binaries fail to build.
`(#:configure-flags '(,(string-append
"--enable-no-install-program="
;; the defaults
"arch,coreutils,hostname"
;; fails on aarch64
",timeout,sort")))
'())
#:guile ,%bootstrap-guile
,@(package-arguments coreutils)))))