andreas pushed a commit to branch core-packages-team
in repository guix.

commit dc15a66caef357528957f55f5da1cc1b6dc90d46
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Mon Dec 9 11:36:32 2024 +0100

    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
---
 gnu/packages/freedesktop.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index de8fb975bc..dda81ddce5 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -40,6 +40,7 @@
 ;;; Copyright © 2024 Dariqq <dar...@posteo.net>
 ;;; Copyright © 2024 Wilko Meyer <w...@wmeyer.eu>
 ;;; Copyright © 2024 dan <i@dan.games>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <jann...@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1154,6 +1155,7 @@ This library provides just sd-bus (and the busctl 
utility).")
                          "nss-systemd")))
        (list
         #:configure-flags #~(list
+                             "-Dc_args=-g -O2 -Wno-format-overflow"
                              #$@(map (lambda (component)
                                        (string-append "-D" component "=false"))
                                      (delete "localed" components)))

Reply via email to