summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-12-11 14:42:26 +0100
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:14 +0200
commit015fdacdb08c9a31eba63126b84763dbca3f9f69 (patch)
treed61637ef610e6795b89a7f0e3f9c96879d5bad0c
parent4718edce23798cc92c589bb6cfe896a935e39e13 (diff)
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
-rw-r--r--gnu/packages/ntp.scm5
1 files changed, 4 insertions, 1 deletions
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 <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