summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-12-11 22:35:06 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-12-11 22:35:06 +0200
commit9782c4529249c8300501202112c095a6589845d3 (patch)
tree3e9b38de5b3d0d9ffb28987ba505092c54898acb /gnu/packages
parent6454208222d6e7760daa964b590f35ea75ffe0e5 (diff)
downloadguix-9782c4529249c8300501202112c095a6589845d3.tar.gz
gnu: coreutils-boot0: Fix building on arm architectures.
* gnu/packages/commencement.scm (coreutils-boot0)[arguments]: When
building for arm architectures skip building some programs.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/commencement.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index b54c21b258..1362cd99ca 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -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)))))