gnu: libcddb: Fix build with gcc-14.

* gnu/packages/cdrom.scm (libcddb)[arguments]: Add #:configure-flags to relax
gcc-14's strictness.

Change-Id: I463872e31d6f8c42136e6e04cf4013c2261d43cc
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-31 09:52:16 +01:00
parent 2c2cea52f5
commit 865e997114
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -16,6 +16,7 @@
;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2024 Julian Flake <flake@uni-koblenz.de>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -89,7 +90,13 @@ (define-public libcddb
(base32
"0fr21a7vprdyy1bq6s99m0x420c9jm5fipsd63pqv8qyfkhhxkim"))))
(build-system gnu-build-system)
(arguments '(#:tests? #f)) ; tests rely on access to external servers
(arguments
(list
#:tests? #f ;tests rely on access to external servers
#:configure-flags #~(list
#$(string-append
"CFLAGS=-g -O2"
" -Wno-error=incompatible-pointer-types"))))
(home-page "https://libcddb.sourceforge.net/")
(synopsis "C library to access data on a CDDB server")
(description