[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: gnu: commencement: diffutils-boot0: Build fix for ARM.
From: |
guix-commits |
Subject: |
02/04: gnu: commencement: diffutils-boot0: Build fix for ARM. |
Date: |
Wed, 19 Feb 2020 14:05:51 -0500 (EST) |
janneke pushed a commit to branch core-updates
in repository guix.
commit b06199e0e0a8325d9dcad1f1cef740ab6af1a380
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Wed Feb 19 15:46:44 2020 +0100
gnu: commencement: diffutils-boot0: Build fix for ARM.
* gnu/packages/commencement.scm (diffutils-boot0): Add
--disable-dependency-tracking. Fixes arm/aarch64 builds.
---
gnu/packages/commencement.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 511fdd1..1e873a4 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -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