me
/
guix
Archived
1
0
Fork 0

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.
master
Jan Nieuwenhuizen 2020-02-26 20:22:18 -05:00
parent 9820d6eda6
commit 846f5da129
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 5 additions and 1 deletions

View File

@ -369,7 +369,11 @@ standard.")
(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)