mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: patch: Fix build for the 64bit Hurd.
* gnu/packages/base.scm (patch)[arguments]: When building for the 64bit Hurd, set #:configure-flags. Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602
This commit is contained in:
parent
6fa9d0b177
commit
d53f374a8a
1 changed files with 28 additions and 21 deletions
|
@ -339,6 +339,7 @@ differences.")
|
||||||
"1bk38169c0xh01b0q0zmnrjqz8k9byz3arp4q7q66sn6xwf94nvz"))
|
"1bk38169c0xh01b0q0zmnrjqz8k9byz3arp4q7q66sn6xwf94nvz"))
|
||||||
(patches (search-patches "patch-hurd-path-max.patch"))))
|
(patches (search-patches "patch-hurd-path-max.patch"))))
|
||||||
(arguments
|
(arguments
|
||||||
|
(let ((arguments
|
||||||
(substitute-keyword-arguments (package-arguments base)
|
(substitute-keyword-arguments (package-arguments base)
|
||||||
((#:phases phases '%standard-phases)
|
((#:phases phases '%standard-phases)
|
||||||
#~(modify-phases #$phases
|
#~(modify-phases #$phases
|
||||||
|
@ -359,7 +360,13 @@ differences.")
|
||||||
;; The gnulib-provided git-version-gen script has a plain
|
;; The gnulib-provided git-version-gen script has a plain
|
||||||
;; shebang of #!/bin/sh; avoid using it.
|
;; shebang of #!/bin/sh; avoid using it.
|
||||||
(("build-aux/git-version-gen" all)
|
(("build-aux/git-version-gen" all)
|
||||||
(string-append "sh " all)))))))))
|
(string-append "sh " all))))))))))
|
||||||
|
(if (target-hurd64?)
|
||||||
|
(substitute-keyword-arguments arguments
|
||||||
|
((#:configure-flags flags '())
|
||||||
|
#~(list "--disable-threads"
|
||||||
|
"gl_cv_func_working_mktime=yes")))
|
||||||
|
arguments)))
|
||||||
(native-inputs (list autoconf automake bison ed))
|
(native-inputs (list autoconf automake bison ed))
|
||||||
(properties '()))))
|
(properties '()))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue