aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-04-16 10:24:46 +0200
committerLudovic Courtès <ludo@gnu.org>2022-04-18 22:57:18 +0200
commit902099a8c0fae2288d1da6d2da683b251b492691 (patch)
treeb238cb2e8d7c6481fdc9e3b94e40e183f05a03da /gnu/packages
parent237d90a7808cfdced34b34595eba16632cbcb89e (diff)
downloadguix-902099a8c0fae2288d1da6d2da683b251b492691.tar
guix-902099a8c0fae2288d1da6d2da683b251b492691.tar.gz
gnu: ntp: Support cross-compilation.
* gnu/packages/ntp.scm (ntp)[arguments]: Add configuration flag. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ntp.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm
index 7a3c033b2e..75460150a2 100644
--- a/gnu/packages/ntp.scm
+++ b/gnu/packages/ntp.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Marius Bakke <marius@gnu.org>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
+;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -153,7 +154,10 @@ time-stamping or reference clock, sub-microsecond accuracy is possible.")
`(("libcap" ,libcap))
'())))
(arguments
- `(#:phases
+ `(;; Pass "--with-yielding-select=yes" so that 'configure' knows whether
+ ;; 'select' yields when using pthreads in a cross-compilation context.
+ #:configure-flags (list "--with-yielding-select=yes")
+ #:phases
(modify-phases %standard-phases
(add-after 'unpack 'disable-network-test
(lambda _