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

* gnu/packages/make-bootstrap.scm (make-guile-static): Pass
"--disable-jit" when targeting GNU/Hurd.
This commit is contained in:
Ludovic Courtès 2021-09-29 22:20:46 +02:00
parent 191c1992b8
commit da8be73d5b
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -699,8 +699,10 @@ (define* (make-guile-static guile patches)
;; 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