diff options
author | Jan Nieuwenhuizen <janneke@gnu.org> | 2020-02-26 20:22:18 -0500 |
---|---|---|
committer | Jan Nieuwenhuizen <janneke@gnu.org> | 2020-03-26 12:59:31 +0100 |
commit | 846f5da1296c09d667179c7da2cbb18929bcde67 (patch) | |
tree | ff52127ab31640a14110752222ac26cc5aec3965 /gnu/packages/base.scm | |
parent | 9820d6eda66e0056e2969bcc16a2564c065baaec (diff) | |
download | guix-846f5da1296c09d667179c7da2cbb18929bcde67.tar.gz |
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.
Diffstat (limited to 'gnu/packages/base.scm')
-rw-r--r-- | gnu/packages/base.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 5c976aee52..aa5200294f 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -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) |