z572 pushed a commit to branch core-packages-team
in repository guix.
commit 08bf4333fd4e029c8a830c07a0c2930df8627278
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Wed Dec 11 14:42:26 2024 +0100
gnu: ntp: Fix build with gcc-14.
* gnu/packages/ntp.scm (ntp)[arguments]: Add CFLAGS to #:configure-flags to
relax gcc-14's strictness.
Change-Id: I757155a64abdabc119a4579b74b9a64d61df2320
---
gnu/packages/ntp.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm
index 33ea790c9a..e3af2a13e6 100644
--- a/gnu/packages/ntp.scm
+++ b/gnu/packages/ntp.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2022 Petr Hodina <[email protected]>
;;; Copyright © 2024 Artyom V. Poptsov <[email protected]>
;;; Copyright © 2024 Zheng Junjie <[email protected]>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -173,7 +174,9 @@ time-stamping or reference clock, sub-microsecond accuracy
is possible.")
;; 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")
+ #~(list
+ "CFLAGS=-g -O2 -Wno-error=int-conversion"
+ "--with-yielding-select=yes")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'disable-network-test