gnu: commencement: diffutils-boot0: Build fix for ARM.

* gnu/packages/commencement.scm (diffutils-boot0): Add
--disable-dependency-tracking.  Fixes arm/aarch64 builds.
This commit is contained in:
Jan Nieuwenhuizen 2020-02-19 15:46:44 +01:00
parent 0a3e8536d9
commit b06199e0e0
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 9 additions and 1 deletions

View File

@ -2559,7 +2559,15 @@ exec " gcc "/bin/" program
`(#:tests? #f ; the test suite needs diffutils
#:guile ,%bootstrap-guile
#:implicit-inputs? #f
,@(package-arguments diffutils)))))
,@(match (%current-system)
((or "arm-linux" "aarch64-linux")
(substitute-keyword-arguments (package-arguments diffutils)
((#:configure-flags flags ''())
;; The generated config.status has some problems due to the
;; bootstrap environment. Disable dependency tracking to work
;; around it.
`(cons "--disable-dependency-tracking" ,flags))))
(_ '()))))))
(define findutils-boot0
(package