guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

225/246: gnu: freeipmi: Fix build with gcc-14.


From: guix-commits
Subject: 225/246: gnu: freeipmi: Fix build with gcc-14.
Date: Sun, 12 Jan 2025 10:21:50 -0500 (EST)

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

commit dab8827afb1ad773983705166d5cd98a2234487f
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Jan 5 17:01:04 2025 +0100

    gnu: freeipmi: Fix build with gcc-14.
    
    * gnu/packages/freeipmi.scm (freeipmi)[arguments]: Add CFLAGS to 
#:configure-flags
    to relax gcc-14's strictness.
    
    Change-Id: Ie22de7f0a344bbc709878be3175fdd07cfde92bc
---
 gnu/packages/freeipmi.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/freeipmi.scm b/gnu/packages/freeipmi.scm
index 9ae45ecf81..c3640405c6 100644
--- a/gnu/packages/freeipmi.scm
+++ b/gnu/packages/freeipmi.scm
@@ -58,7 +58,10 @@
                                   '("config.guess" "config.sub"))))))
           '())
              (list #:configure-flags
-                   #~'("CFLAGS=-g -O2 -Wno-error=implicit-function-declaration"
+                   #~'(#$(string-append
+                          "CFLAGS=-g -O2"
+                          " -Wno-error=implicit-function-declaration"
+                          " -Wno-error=incompatible-pointer-types")
                        "--disable-static"
                        #$@(if (%current-target-system)
                               ;; We cannot check for these devices



reply via email to

[Prev in Thread] Current Thread [Next in Thread]