mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: localed: Fix build with gcc-14.
* gnu/packages/freedesktop.scm (localed)[arguments]: Add c_args to #:configure-flags to relax gcc-14's strictness. Change-Id: I2cb4d9bc7e22ab0bedacbd79b98d33a1b6a27bd0 Modified-by: Zheng Junjie <z572@z572.online>
This commit is contained in:
parent
10ed768407
commit
bb77fc1a78
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,7 @@
|
||||||
;;; Copyright © 2024 Dariqq <dariqq@posteo.net>
|
;;; Copyright © 2024 Dariqq <dariqq@posteo.net>
|
||||||
;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
|
;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
|
||||||
;;; Copyright © 2024 dan <i@dan.games>
|
;;; Copyright © 2024 dan <i@dan.games>
|
||||||
|
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -1196,6 +1197,8 @@ This library provides just sd-bus (and the busctl utility).")
|
||||||
"nss-systemd")))
|
"nss-systemd")))
|
||||||
(list
|
(list
|
||||||
#:configure-flags #~(list
|
#:configure-flags #~(list
|
||||||
|
;; Relax gcc-14's strictness.
|
||||||
|
"-Dc_args=-g -O2 -Wno-format-overflow"
|
||||||
#$@(map (lambda (component)
|
#$@(map (lambda (component)
|
||||||
(string-append "-D" component "=false"))
|
(string-append "-D" component "=false"))
|
||||||
(delete "localed" components)))
|
(delete "localed" components)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue