mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
gnu: cheese: Fix build with gcc-14.
* gnu/packages/gnome.scm (cheese)[arguments]: Add stage "relax-gcc-14-strictness". Change-Id: Idaf34cfe9f91f055a1ab570c003bc15394f7021f
This commit is contained in:
parent
5523bb9ef9
commit
829c3d608b
1 changed files with 4 additions and 0 deletions
|
@ -11828,6 +11828,10 @@ (define-public cheese
|
|||
(substitute* "meson.build"
|
||||
(("gtk_update_icon_cache: true")
|
||||
"gtk_update_icon_cache: false"))))
|
||||
(add-before 'configure 'relax-gcc-14-strictness
|
||||
(lambda _
|
||||
(setenv "CFLAGS"
|
||||
"-g -O2 -Wno-error=incompatible-pointer-types")))
|
||||
(add-after 'install 'wrap-cheese
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(wrap-program (search-input-file outputs "bin/cheese")
|
||||
|
|
Loading…
Reference in a new issue