janneke pushed a commit to branch core-packages-team in repository guix. commit aa2eee643b46b9b9dee8dd5be0f992758573c94e Author: Janneke Nieuwenhuizen <jann...@gnu.org> 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 f7f76400a2..6825e8a962 100644 --- a/gnu/packages/ntp.scm +++ b/gnu/packages/ntp.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2022 Petr Hodina <phod...@protonmail.com> ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.art...@gmail.com> ;;; Copyright © 2024 Zheng Junjie <873216...@qq.com> +;;; Copyright © 2024 Janneke Nieuwenhuizen <jann...@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -161,7 +162,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