[Top][All Lists]

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

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

From: guix-commits
Subject: 12/31: gnu: make: Support for the Hurd.
Date: Sat, 21 Mar 2020 03:19:17 -0400 (EDT)

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

commit 760fbdae975e1b8975736e333a3c93911e6c663b
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 ef101e6..c1dff4f 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -367,7 +367,11 @@ functionality beyond that which is outlined in the POSIX 
    (inputs `(("guile" ,guile-3.0)))
    (outputs '("out" "debug"))
-    '(#: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]