andreas pushed a commit to branch core-packages-team
in repository guix.

commit fca5974aefe3ec8a25125370d3b15fccd0ef137a
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Wed Jan 1 14:05:55 2025 +0100

    gnu: efivar: Fix build on i686-linux with gcc-14.
    
    * gnu/packages/linux.scm (efivar)[arguments]: Add CFLAGS to relax gcc-14's
    strictness.
    
    Change-Id: Id79bc84eab70cbd9ead220ad2d27322d8b8b21e3
---
 gnu/packages/linux.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index ce957a713d..3d9fc69923 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8222,7 +8222,9 @@ under OpenGL graphics workloads.")
                                           #$(cc-for-target))
                            "HOSTCC=gcc"
                            (string-append "LDFLAGS=-Wl,-rpath="
-                                          #$output "/lib"))
+                                          #$output "/lib")
+                           ;; Strictly only needed for i686-linux/32bit
+                           "CFLAGS=-g -O2 -Wno-error=format")
       #:phases #~(modify-phases %standard-phases
                    (add-after 'unpack 'build-deterministically
                      (lambda _

Reply via email to