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
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-11 14:42:26 +01:00
parent 87a645a47b
commit 43a2263a25
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -11,6 +11,7 @@
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -161,7 +162,9 @@ (define-public ntp
;; 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