guix_mirror_bot pushed a commit to branch core-packages-team in repository guix.
commit c5a529261f89879764a8c5ab68b0abf3ab4f3c38 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 9f06e9a184..242f0f696d 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -2035,6 +2035,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.