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 armhf


From: guix-commits
Subject: branch core-updates updated: gnu: coreutils-boot0: Fix building on armhf-linux.
Date: Wed, 15 Mar 2023 09:13:59 -0400

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 37399b18ef gnu: coreutils-boot0: Fix building on armhf-linux.
37399b18ef is described below

commit 37399b18ef70f2b32c50ea45b3bfa649bbf58f16
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 15 15:11:15 2023 +0200

    gnu: coreutils-boot0: Fix building on armhf-linux.
    
    * gnu/packages/commencement.scm (coreutils-boot0)[arguments]: When
    building for armhf-linux include the workaround to force 32-bit time.
    Rearrange arguments so that the configure-flags for armhf-linux aren't
    overridden.
---
 gnu/packages/commencement.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index c1a40c999b..e390bf98aa 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1999,6 +1999,8 @@ exec " gcc "/bin/" program
     (arguments
      `(#:tests? #f
        #:implicit-inputs? #f
+       #:guile ,%bootstrap-guile
+       ,@(package-arguments coreutils)
        ;; The %bootstrap-glibc for aarch64 and armhf doesn't have
        ;; $output/include/linux/prctl.h which causes some binaries
        ;; to fail to build with coreutils-9.0+.
@@ -2008,10 +2010,11 @@ exec " gcc "/bin/" program
                                     ;; the defaults to not install.
                                     "arch,coreutils,hostname"
                                     ;; fails due to missing headers.
-                                    ",timeout,sort")))
-           '())
-       #:guile ,%bootstrap-guile
-       ,@(package-arguments coreutils)))))
+                                    ",timeout,sort")
+                                  ,@(if (target-arm32?)
+                                      `("--disable-year2038")
+                                      `())))
+           '())))))
 
 (define diffutils-boot0
   (package



reply via email to

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