summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <z572@z572.online>2025-07-06 14:17:06 +0800
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:41 +0200
commit36755581c114e4134abbe09faf16c1744614a719 (patch)
tree334595a438e6adf9ca0b9685d9c61bcb8f58941e
parent0e6b607b833489ba806f5db13cf32e4408cd56c8 (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 a2ff88ffb5..37204d4701 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 _