From 015fdacdb08c9a31eba63126b84763dbca3f9f69 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Wed, 11 Dec 2024 14:42:26 +0100 Subject: [PATCH] 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 88661061648..41d06f7018e 100644 --- a/gnu/packages/ntp.scm +++ b/gnu/packages/ntp.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2024 Artyom V. Poptsov ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2025 Ashish SHUKLA +;;; Copyright © 2024 Janneke Nieuwenhuizen ;;; ;;; 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