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
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-11 12:44:44 +01:00
parent fffbed406d
commit bd467adb96
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -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 @@ (define-public bdb-4.8
#:out-of-source? #true
#:configure-flags
#~(list
"CFLAGS=-g -O2 -Wno-error=implicit-function-declaration"
;; Remove 7 MiB of .a files.
"--disable-static"