mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: accountsservice: Fix build with gcc-14.
* gnu/packages/freedesktop.scm (accountsservice)[arguments]: Add phase "relax-gcc-14-strictness". Change-Id: I19ceb499479911041d88e375d8989861713133d2
This commit is contained in:
parent
571a6e012f
commit
6f7d1eeca9
1 changed files with 4 additions and 0 deletions
|
@ -1925,6 +1925,10 @@ (define-public accountsservice
|
|||
(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.
|
||||
|
|
Loading…
Reference in a new issue