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

janneke pushed a commit to branch hurd-team
in repository guix.

The following commit(s) were added to refs/heads/hurd-team by this push:
     new 98c4d07cba squash! gnu: Add basic support for x86_64-pc-gnu target, 
aka 64bit Hurd.
98c4d07cba is described below

commit 98c4d07cbaced1146dd6a879a9e2a43245b319df
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Mon Nov 11 23:42:16 2024 +0100

    squash! gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd.
    
    * gnu/packages/bootstrap.scm (make-raw-bag): Also use raw-build-guile3 when
    building for the 64bit Hurd.
    * gnu/packages/make-bootstrap.scm (make-guile-static)[arguments]: When
    building for the 64bit Hurd, add "lt_cv_prog_compiler_static_works=yes"
    to #:configure-flags to convince libtool to actually link guile statically.
    
    Change-Id: I6b080c1659657b41123295d29f505748447ba18f
---
 gnu/packages/bootstrap.scm      | 3 ++-
 gnu/packages/make-bootstrap.scm | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index a2376be65c..38a79360eb 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -572,7 +572,8 @@ $out/bin/guile --version~%"
     (name name)
     (system system)
     (build-inputs inputs)
-    (build (cond ((target-riscv64?)
+    (build (cond ((or (target-riscv64?)
+                      (target-hurd64?))
                   raw-build-guile3)
                  (else raw-build)))))
 
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index 18281198ba..1a165fb893 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -654,6 +654,9 @@ for `sh' in $PATH, and without nscd, and with static NSS 
modules."
 
                   #$@(if (target-hurd?)
                          #~("--disable-jit")
+                         #~())
+                  #$@(if (target-hurd64?)
+                         #~("lt_cv_prog_compiler_static_works=yes")
                          #~())))
          ((#:phases phases '%standard-phases)
           #~(modify-phases #$phases

Reply via email to