This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 0bae6e3586 gnu: recutils: Fix build with GCC 14.
0bae6e3586 is described below

commit 0bae6e35861e8a8d7d4ab90bdcadcf03ad9734fc
Author: Zheng Junjie <[email protected]>
AuthorDate: Sat Jul 19 17:45:02 2025 +0800

    gnu: recutils: Fix build with GCC 14.
    
    Fixes: guix/guix#1353.
    
    * gnu/packages/databases.scm (recutils)[arguments]<#:configure-flags>:
    Add -Wno-error=implicit-function-declaration and
    -Wno-error=incompatible-pointer-types.
    
    Change-Id: Id9169dec7fc02c181125986960a9d6be657c8517
---
 gnu/packages/databases.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index a376addbfb..2e2fe25221 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1910,7 +1910,11 @@ organized in a hash table or B+ tree.")
            #~(list "--disable-static"
                    (string-append "--with-bash-headers="
                                   (search-input-directory %build-inputs
-                                                          "include/bash")))
+                                                          "include/bash"))
+                   ;; Add CFLAGS to relax gcc-14's strictness.
+                   (string-append "CFLAGS=-g -O2"
+                                  " -Wno-error=implicit-function-declaration"
+                                  " -Wno-error=incompatible-pointer-types"))
            #:phases
            #~(modify-phases %standard-phases
                (add-after 'install 'symlink-bash-loadables

Reply via email to