summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2025-01-05 13:24:43 +0100
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:25 +0200
commitce85fa139fa3f1e16b107cfc850e9e2e290a716a (patch)
tree4dce03d6b9dd1998ecbbbe1f0c201d70dec202f5
parent9667f6adcd22cc163144ab9d4a8b9a8312fb29b7 (diff)
gnu: gnome-recipes: Fix build with gcc-14.
* gnu/packages/gnome.scm (gnome-recipes)[arguments]: Add phase "relax-gcc-14-strictness". Change-Id: I1d9bc4ee914a0b6ffdabced3fa8febee5feacc30
-rw-r--r--gnu/packages/gnome.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index b6fb2438adc..dfbf9af9f00 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -811,7 +811,13 @@ patterns.")
(lambda _
(copy-recursively
#$(this-package-native-input "libgd-checkout")
- "subprojects/libgd"))))))
+ "subprojects/libgd")))
+ (add-before 'configure 'relax-gcc-14-strictness
+ (lambda _
+ (setenv "CFLAGS"
+ (string-append
+ "-g -O2"
+ " -Wno-error=incompatible-pointer-types")))))))
(inputs (list glib
gnome-autoar
gnome-online-accounts