guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates updated: gnu: coreutils-boot0: Fix building on arm a


From: guix-commits
Subject: branch core-updates updated: gnu: coreutils-boot0: Fix building on arm architectures.
Date: Sun, 11 Dec 2022 15:41:54 -0500

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new 9782c45292 gnu: coreutils-boot0: Fix building on arm architectures.
9782c45292 is described below

commit 9782c4529249c8300501202112c095a6589845d3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Dec 11 22:35:06 2022 +0200

    gnu: coreutils-boot0: Fix building on arm architectures.
    
    * gnu/packages/commencement.scm (coreutils-boot0)[arguments]: When
    building for arm architectures skip building some programs.
---
 gnu/packages/commencement.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

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)))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]