guix-commits
[Top][All Lists]
Advanced

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

05/33: gnu: make: Support for the Hurd.


From: guix-commits
Subject: 05/33: gnu: make: Support for the Hurd.
Date: Fri, 13 Mar 2020 02:45:50 -0400 (EDT)

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

commit 95bd54d3e585975796d58399b6df4b0815e52ca9
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 | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index f048e4b..7d645f8 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -6,7 +6,7 @@
 ;;; Copyright © 2014 Alex Kost <address@hidden>
 ;;; Copyright © 2014, 2015 Manolis Fragkiskos Ragkousis <address@hidden>
 ;;; Copyright © 2016, 2017, 2019, 2020 Efraim Flashner <address@hidden>
-;;; Copyright © 2016 Jan Nieuwenhuizen <address@hidden>
+;;; Copyright © 2016, 2020 Jan (janneke) Nieuwenhuizen <address@hidden>
 ;;; Copyright © 2016, 2018 Alex Vong <address@hidden>
 ;;; Copyright © 2017 Rene Saavedra <address@hidden>
 ;;; Copyright © 2017, 2020 Mathieu Othacehe <address@hidden>
@@ -365,7 +365,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]