summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2020-02-19 15:46:44 +0100
committerJan Nieuwenhuizen <janneke@gnu.org>2020-02-19 19:25:37 +0100
commitb06199e0e0a8325d9dcad1f1cef740ab6af1a380 (patch)
tree4c5213daa71913b14ede289acfcbff1f81c22b2a /gnu/packages
parent0a3e8536d983722b464d0b939249d63c409feadb (diff)
downloadguix-b06199e0e0a8325d9dcad1f1cef740ab6af1a380.tar.gz
gnu: commencement: diffutils-boot0: Build fix for ARM.
* gnu/packages/commencement.scm (diffutils-boot0): Add
--disable-dependency-tracking.  Fixes arm/aarch64 builds.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/commencement.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 511fdd1b68..1e873a4fc5 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