mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: ntp: Support cross-compilation.
* gnu/packages/ntp.scm (ntp)[arguments]: Add configuration flag. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
237d90a780
commit
902099a8c0
1 changed files with 5 additions and 1 deletions
|
@ -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 @@ (define-public ntp
|
|||
`(("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 _
|
||||
|
|
Loading…
Reference in a new issue