guix-commits
[Top][All Lists]
Advanced

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

33/52: gnu: libdaemon: Allow cross-compilation.


From: guix-commits
Subject: 33/52: gnu: libdaemon: Allow cross-compilation.
Date: Thu, 9 Apr 2020 13:29:10 -0400 (EDT)

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

commit 64a41285df1813214143a93e92f1b7116047ca5c
Author: Ludovic Courtès <address@hidden>
AuthorDate: Tue Apr 7 15:53:32 2020 +0200

    gnu: libdaemon: Allow cross-compilation.
    
    * gnu/packages/libdaemon.scm (libdaemon)[arguments]: New field.
---
 gnu/packages/libdaemon.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/libdaemon.scm b/gnu/packages/libdaemon.scm
index 81cf6e5..a92892a 100644
--- a/gnu/packages/libdaemon.scm
+++ b/gnu/packages/libdaemon.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2014 Ludovic Courtès <address@hidden>
+;;; Copyright © 2013, 2014, 2020 Ludovic Courtès <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -45,6 +45,12 @@
                "0d5qlq5ab95wh1xc87rqrh1vx6i8lddka1w3f1zcqvcqdxgyn8zx"))
              (file-name (string-append name "-" version ".tar.gz"))))
     (build-system gnu-build-system)
+    (arguments
+     (if (%current-target-system)
+         ;; The 'setpgrp' test cannot provide an answer when cross-compiling,
+         ;; so provide the right one for glibc.
+         `(#:configure-flags (list "ac_cv_func_setpgrp_void=yes"))
+         '()))
 
     ;; XXX: Stale URL, missing replacement.  See <http://bugs.gnu.org/18639>.
     (home-page "http://0pointer.de/lennart/projects/libdaemon/";)



reply via email to

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