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

commit bddb0af369a72be38a24d4f182ec5154b0498252
Author: Janneke Nieuwenhuizen <[email protected]>
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 <[email protected]>
 ;;; Copyright © 2021, 2022 Maxime Devos <[email protected]>
 ;;; Copyright © 2021 LuHui <[email protected]>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <[email protected]>
 ;;;
 ;;; 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