This is an automated email from the git hooks/post-receive script.
janneke pushed a commit to branch core-packages-team
in repository guix.
The following commit(s) were added to refs/heads/core-packages-team by this
push:
new 9b4db1b2b9 gnu: accountsservice: Fix build with gcc-14.
9b4db1b2b9 is described below
commit 9b4db1b2b9b2bbfd029793c02a6ef2a6d5974bbe
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Mon Dec 30 21:30:12 2024 +0100
gnu: accountsservice: Fix build with gcc-14.
* gnu/packages/freedesktop.scm (accountsservice)[arguments]: Add phase
"setup-build-environment" to relax gcc-14'-s 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..d6786b7a74 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 'setup-build-environment
+ (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.