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

commit 2d5dbbc3662f2eab0f897daf63b126d87adcff6a
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Mon Dec 30 21:30:12 2024 +0100

    gnu: accountsservice: Fix build with gcc-14.
    
    * gnu/packages/freedesktop.scm (accountsservice)[arguments]: Add phase
    "relax-gcc-14-strictness".
    
    Change-Id: I19ceb499479911041d88e375d8989861713133d2
---
 gnu/packages/freedesktop.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 4d00848ed5..90e83ecf5c 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -2020,6 +2020,10 @@ message bus.")
                 (search-input-file inputs "bin/passwd"))
                (("/usr/bin/chage")
                 (search-input-file inputs "bin/chage")))))
+          (add-before 'configure 'relax-gcc-14-strictness
+            (lambda _
+              (setenv "CFLAGS"
+                      "-g -O2 -Wno-error=implicit-function-declaration")))
          (add-after 'install 'wrap-with-xdg-data-dirs
            ;; This is to allow accountsservice finding extensions, which
            ;; should be installed to the system profile.

Reply via email to