guix-commits
[Top][All Lists]
Advanced

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

03/06: gnu: guile-static: Disable JIT on GNU/Hurd.


From: guix-commits
Subject: 03/06: gnu: guile-static: Disable JIT on GNU/Hurd.
Date: Wed, 29 Sep 2021 18:07:25 -0400 (EDT)

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

commit da8be73d5bd85e7fd256a23f94c5f752c796dcac
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Sep 29 22:20:46 2021 +0200

    gnu: guile-static: Disable JIT on GNU/Hurd.
    
    * gnu/packages/make-bootstrap.scm (make-guile-static): Pass
    "--disable-jit" when targeting GNU/Hurd.
---
 gnu/packages/make-bootstrap.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index 2a00ab1..0014783 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -699,8 +699,10 @@ for `sh' in $PATH, and without nscd, and with static NSS 
modules."
           ;; When `configure' checks for ltdl availability, it
           ;; doesn't try to link using libtool, and thus fails
           ;; because of a missing -ldl.  Work around that.
-          ''("LDFLAGS=-ldl"
-             "--enable-mini-gmp"))
+          `(list "LDFLAGS=-ldl" "--enable-mini-gmp"
+                 ,@(if (hurd-target?)
+                       '("--disable-jit")
+                       '())))
          ((#:phases phases '%standard-phases)
           `(modify-phases ,phases
 



reply via email to

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