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: Tue, 24 Mar 2020 18:38:49 -0400 (EDT)

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

commit 557b3a08ca3c35753b5544d487310bc13c2e8646
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 5c976ae..aa52002 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)



reply via email to

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