guix-commits
[Top][All Lists]
Advanced

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

41/74: gnu: bdb-4.8: Fix build with gcc-14.


From: guix-commits
Subject: 41/74: gnu: bdb-4.8: Fix build with gcc-14.
Date: Sun, 15 Dec 2024 10:03:22 -0500 (EST)

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

commit 636468e4b9e933012632e1c1847b7b793c5ed930
Author: Janneke Nieuwenhuizen <janneke@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 c2abbec868..40c23d2d69 100644
--- a/gnu/packages/dbm.scm
+++ b/gnu/packages/dbm.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
 ;;; Copyright © 2021, 2022 Maxime Devos <maximedevos@telenet.be>
 ;;; Copyright © 2021 LuHui <luhux76@gmail.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@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

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