guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/31: gnu: make: Support for the Hurd.


From: guix-commits
Subject: 11/31: gnu: make: Support for the Hurd.
Date: Sun, 15 Mar 2020 14:23:10 -0400 (EDT)

janneke pushed a commit to branch wip-hurd
in repository guix.

commit 0849b0ce9d83f4988c4628808ce00e0775e516b6
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Wed Feb 26 20:22:18 2020 -0500

    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.
---
 gnu/packages/base.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 78e8aca..0307dc4 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -367,7 +367,11 @@ functionality beyond that which is outlined in the POSIX 
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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]