janneke pushed a commit to branch core-packages-team
in repository guix.
commit 7c3f12705008f88cb744891389dcf33e0c62e5b9
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Tue Dec 31 22:30:11 2024 +0100
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
---
gnu/packages/audio.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index e798313068..d567bb05ce 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -4673,9 +4673,10 @@ control functionality, or just for playing around with
the sound effects.")
(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