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 committed by Andreas Enge
parent 4718edce23
commit 015fdacdb0
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -12,6 +12,7 @@
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -177,7 +178,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