gnu: libshout: Fix build with gcc-14.

* gnu/packages/xiph.scm (libshout)[arguments]: New field to relax gcc-14's strictness.

Change-Id: Ic8e687db3ead45309ce2aeac5e6cd5f06d77b1a7
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-31 09:58:58 +01:00
parent 865e997114
commit 409784ab27
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -14,6 +14,7 @@
;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -522,6 +523,12 @@ (define-public libshout
(base32
"0469yzc1csm25f5dbyb7ly7i1mzjz13pw8c8bmswkpfzxzqd9jrr"))))
(build-system gnu-build-system)
(arguments
(list
#:configure-flags #~(list
#$(string-append
"CFLAGS=-g -O2"
" -Wno-error=implicit-function-declaration"))))
(native-inputs
(list pkg-config))
(propagated-inputs