mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -05:00
gnu: make: Support for the Hurd.
* gnu/packages/base.scm (gnu-make): Use fork/exec rather than posix_spawn on the Hurd. Also, add __alloca linkage workaround.
This commit is contained in:
parent
9820d6eda6
commit
846f5da129
1 changed files with 5 additions and 1 deletions
|
@ -369,7 +369,11 @@ (define-public gnu-make
|
|||
(inputs `(("guile" ,guile-3.0)))
|
||||
(outputs '("out" "debug"))
|
||||
(arguments
|
||||
'(#:phases
|
||||
`(,@(if (hurd-target?)
|
||||
'(#:configure-flags '("CFLAGS=-D__alloca=alloca"
|
||||
"ac_cv_func_posix_spawn=no"))
|
||||
'())
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'build 'set-default-shell
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue