gnu: gamin: Fix build with gcc-14.

* gnu/packages/gnome.scm (gamin)[arguments]: Add #:configure-flags to relax
gcc-14's strictness.

Change-Id: I1e8a91aa036b1f9d0f8297eead0872f313f72146
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-11 13:54:34 +01:00
parent bd467adb96
commit 140a746f04
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -12515,7 +12515,11 @@ (define-public gamin
"02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
(build-system gnu-build-system)
(arguments
`(#:phases
`(#:configure-flags `(,(string-append
"CFLAGS=-g -O2"
" -Wno-error=implicit-function-declaration"
" -Wno-error=return-mismatch"))
#:phases
(modify-phases %standard-phases
;; The 'config.sub' is too old to recognise aarch64.
,@(if (or (target-aarch64?) (target-riscv64?))