gnu: sox: Fix build with gcc-14.

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

Change-Id: Iaf4dd1bd066f18fe98fb6f1d7efb2304f011e08a
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-31 22:30:11 +01:00
parent 16596f09dd
commit 7e9e1714fa
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -4398,9 +4398,10 @@ (define-public sox
(build-system gnu-build-system)
(arguments
'(#:configure-flags
;; The upstream asks to identify the distribution to diagnose SoX
;; bug reports.
'("--with-distro=Guix System Distribution")))
'("CFLAGS=-g -O2 -Wno-error=implicit-function-declaration"
;; Upstream asks to identify the distribution to diagnose SoX
;; bug reports.
"--with-distro=Guix System Distribution")))
(native-inputs
(list pkg-config))
(inputs