janneke pushed a commit to branch core-packages-team
in repository guix.
commit dc734caab8e90d1ec1d595934349d288202f1c11
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 0b01f339d5..681ed1a270 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.
;;;
@@ -170,7 +171,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