mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 23:06:59 +01:00
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:
parent
87a645a47b
commit
43a2263a25
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue