guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

85/249: gnu: accountsservice: Fix build with gcc-14.


From: guix-commits
Subject: 85/249: gnu: accountsservice: Fix build with gcc-14.
Date: Mon, 6 Jan 2025 07:51:28 -0500 (EST)

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

commit fa8cb11bbf4b7e7181530e614d4a1c915bb66d4f
Author: Janneke Nieuwenhuizen <janneke@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 ba3542b7c2..114e848882 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1907,6 +1907,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

[Prev in Thread] Current Thread [Next in Thread]