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 14:18:44 +0800
commit7d0d3182ca5b0b8969c5b2e4aad3136b00e5ad30 (patch)
treeee5f2f0982538c8d4a7ae5210cbd9edefb14f259
parentb1ae2b69ac8f45096eb0f58382e21d9c62a56fa6 (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 _