summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <z572@z572.online>2025-07-06 14:17:06 +0800
committerZheng Junjie <z572@z572.online>2025-07-06 19:05:47 +0800
commit972e71c48bc80f1b92bfe377ec4afd33da559247 (patch)
treea1f1eaf42ee3956b28d9e9a929ca8296f8a8864f
parent9b77c7ac8a316b70fff9bff5eca1c0464c713ea5 (diff)
gnu: gnome-vfs: Fix build with gcc-14.
* gnu/packages/gnome.scm (gnome-vfs): [arguments]<#:configure-flags>: Add CFLAGS to relax gcc-14's strictness. Change-Id: Ied920c9a700cc68f8f8c8cde2c850c5af19d1212
-rw-r--r--gnu/packages/gnome.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index c337f90a27..1287946543 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4114,7 +4114,12 @@ designed to be accessed through the MIME functions in GnomeVFS.")
"1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
+ `(#:configure-flags
+ ;; Add CFLAGS to relax gcc-14's strictness.
+ (list (string-append
+ "CFLAGS=-g -O2"
+ " -Wno-error=implicit-function-declaration"))
+ #:phases
(modify-phases %standard-phases
(add-before 'configure 'ignore-deprecations
(lambda _