me
/
guix
Archived
1
0
Fork 0

gnu: guile-static: Switch to gexps.

* gnu/packages/make-bootstrap.scm (make-guile-static): Switch to gexps.
master
Ludovic Courtès 2023-03-27 12:29:39 +02:00
parent 83125dbc94
commit ca7b1e2fd7
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 29 additions and 29 deletions

View File

@ -613,24 +613,24 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
(replace "libgc" libgc/static-libs)))
(arguments
(substitute-keyword-arguments (package-arguments guile)
((#:configure-flags flags '())
((#:configure-flags flags #~'())
;; 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.
`(list "LDFLAGS=-ldl" "--enable-mini-gmp"
#~(list "LDFLAGS=-ldl" "--enable-mini-gmp"
;; Guile does an LTO build by default, but in 3.0.9 it
;; wrongfully picks 'ar' instead of 'gcc-ar', so work around
;; it (see <https://issues.guix.gnu.org/61086>).
,@(if (version-prefix? "3.0" (package-version guile))
'("AR=gcc-ar" "RANLIB=gcc-ranlib")
'())
#$@(if (version-prefix? "3.0" (package-version guile))
#~("AR=gcc-ar" "RANLIB=gcc-ranlib")
#~())
,@(if (hurd-target?)
'("--disable-jit")
'())))
#$@(if (hurd-target?)
#~("--disable-jit")
#~())))
((#:phases phases '%standard-phases)
`(modify-phases ,phases
#~(modify-phases #$phases
;; Do not record the absolute file name of 'sh' in
;; (ice-9 popen). This makes 'open-pipe' unusable in