guix_mirror_bot pushed a commit to branch master
in repository guix.
commit da830d51ff0a816d822b094d3dd41d263548309e
Author: Andreas Enge <[email protected]>
AuthorDate: Tue Jul 22 21:57:00 2025 +0200
gnu: spacefm: Fix build with gcc-14.
* gnu/packages/lxde.scm (spacefm)[arguments]<#:configure-flags>:
Add more CFLAGS.
Change-Id: I87e49240805844f8fb59ca223ede9d5c7829a9ab
---
gnu/packages/lxde.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm
index edd38c290b..30437ae565 100644
--- a/gnu/packages/lxde.scm
+++ b/gnu/packages/lxde.scm
@@ -393,7 +393,9 @@ with freedesktop.org standard.")
(string-append "graphical_su="
(search-input-file inputs "/bin/ktsuss")))))))
#:configure-flags (list
- "CFLAGS=-fcommon"
+ (string-append
+ "CFLAGS=-fcommon -g -O2 "
+ "-Wno-error=incompatible-pointer-types")
(string-append "--with-preferable-sudo="
(assoc-ref %build-inputs "ktsuss")
"/bin/ktsuss")