From da830d51ff0a816d822b094d3dd41d263548309e Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Tue, 22 Jul 2025 21:57:00 +0200 Subject: [PATCH] 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 edd38c290b2..30437ae5652 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")