diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-04-07 15:53:32 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-04-11 19:22:26 +0200 |
commit | a16022a7b889cefc86cb368c3475a7d0dd2edfb6 (patch) | |
tree | 85bd35c3dd27c652d324a2a8563720b48ca3c439 /gnu/packages/libdaemon.scm | |
parent | abbeaf5450826077d27292fbc230f5724f5ff9d0 (diff) | |
download | guix-a16022a7b889cefc86cb368c3475a7d0dd2edfb6.tar guix-a16022a7b889cefc86cb368c3475a7d0dd2edfb6.tar.gz |
gnu: libdaemon: Allow cross-compilation.
* gnu/packages/libdaemon.scm (libdaemon)[arguments]: New field.
Diffstat (limited to 'gnu/packages/libdaemon.scm')
-rw-r--r-- | gnu/packages/libdaemon.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/libdaemon.scm b/gnu/packages/libdaemon.scm index 81cf6e58ba..a92892a6ae 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 <ludo@gnu.org> +;;; Copyright © 2013, 2014, 2020 Ludovic Courtès <ludo@gnu.org> ;;; ;;; 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/") |