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 committed by Andreas Enge
parent 5b60674e99
commit 2b1ee1d7b3
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -18,6 +18,7 @@
;;; Copyright © 2024 Julian Flake <flake@uni-koblenz.de>
;;; Copyright © 2025 Yovan Naumovski <yovan@gorski.stream>
;;; Copyright © 2025 André Batista <nandre@riseup.net>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -91,7 +92,13 @@
(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