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

commit dbf80cf5b8a218497b09b7bbfe85643e68d66009
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Wed Dec 11 12:44:44 2024 +0100

    gnu: bdb-4.8: Fix build with gcc-14.
    
    * gnu/packages/dbm.scm (bdb-4.8)[arguments]: Add CFLAGS to #:configure-flags
    to relax gcc-14's strictness.
    
    Change-Id: If016d18710acd525462f7f108939180650c73587
---
 gnu/packages/dbm.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/dbm.scm b/gnu/packages/dbm.scm
index 2bec8d141c..2b4e50934a 100644
--- a/gnu/packages/dbm.scm
+++ b/gnu/packages/dbm.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2021 Leo Le Bouter <lle-b...@zaclys.net>
 ;;; Copyright © 2021, 2022 Maxime Devos <maximede...@telenet.be>
 ;;; Copyright © 2021 LuHui <luhu...@gmail.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <jann...@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -89,6 +90,7 @@
            #:out-of-source? #true
            #:configure-flags
            #~(list
+              "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration"
               ;; Remove 7 MiB of .a files.
               "--disable-static"
 

Reply via email to