guix-commits
[Top][All Lists]
Advanced

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

01/14: gnu: ntp: Support cross-compilation.


From: guix-commits
Subject: 01/14: gnu: ntp: Support cross-compilation.
Date: Mon, 18 Apr 2022 17:27:36 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 902099a8c0fae2288d1da6d2da683b251b492691
Author: Petr Hodina <phodina@protonmail.com>
AuthorDate: Sat Apr 16 10:24:46 2022 +0200

    gnu: ntp: Support cross-compilation.
    
    * gnu/packages/ntp.scm (ntp)[arguments]: Add configuration flag.
    
    Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/ntp.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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 _



reply via email to

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