[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
44/74: gnu: ntp: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
44/74: gnu: ntp: Fix build with gcc-14. |
Date: |
Wed, 18 Dec 2024 08:07:05 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 540109d3269656e7811bd66dcb22db9beda17ea9
Author: Janneke Nieuwenhuizen <janneke@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 <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 @@ 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
- 22/74: gnu: expect: Fix build with gcc-14., (continued)
- 22/74: gnu: expect: Fix build with gcc-14., guix-commits, 2024/12/18
- 33/74: gnu: localed: Fix build with gcc-14., guix-commits, 2024/12/18
- 32/74: gnu: serf: Update to 1.3.10 and fix build with gcc-14., guix-commits, 2024/12/18
- 40/74: gnu: jack-1: Fix build with gcc-14., guix-commits, 2024/12/18
- 37/74: gnu: fontforge: Update to 20230101 and fix build with gettext-0.23., guix-commits, 2024/12/18
- 43/74: gnu: gn: Fix build with gcc-14., guix-commits, 2024/12/18
- 06/74: gnu: bash-minimal: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/18
- 25/74: gnu: python-lxml: Update to 5.2.2; fixes build with gcc-14., guix-commits, 2024/12/18
- 26/74: gnu: xmlto: Fix build with gcc-14., guix-commits, 2024/12/18
- 36/74: gnu: texlive-xdvi-bin: Fix build with gcc-14., guix-commits, 2024/12/18
- 44/74: gnu: ntp: Fix build with gcc-14.,
guix-commits <=
- 46/74: gnu: pth: Fix build with gcc-14., guix-commits, 2024/12/18
- 05/74: gnu: gcc-boot0: Fix building on powerpc64le-linux., guix-commits, 2024/12/18
- 10/74: gnu: zip: Fix build with gcc-14., guix-commits, 2024/12/18
- 07/74: gnu: commencement: gcc-final: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/18
- 08/74: gnu: libffi: Fix build for x86_64-linux with gcc-14., guix-commits, 2024/12/18
- 04/74: gnu: commencement: gcc-boot0: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/18
- 18/74: gnu: bdb: Use automake-1.16.5., guix-commits, 2024/12/18
- 15/74: gnu: automake: Update to 1.17; fixes build with gcc-14., guix-commits, 2024/12/18
- 19/74: gnu: elfutils: Update to 0.192; fixes build with gcc-14., guix-commits, 2024/12/18
- 17/74: gnu: automake-1.16.5: Skip tests., guix-commits, 2024/12/18