z572 pushed a commit to branch core-packages-team
in repository guix.
commit 755ef1b7eed8557fd579115a407aca73c8cb127d
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Tue Dec 31 23:13:43 2024 +0100
gnu: transcode: Fix build with gcc-14.
* gnu/packages/video.scm (transcode)[arguments]: Extend CFLAGS to relax
gcc-14's strictness.
Change-Id: I48bdf9f98297e49f3529264ffd914125b18f50cc
---
gnu/packages/video.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 6a521f2f53..3e31e14b33 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -314,7 +314,9 @@ user has installed.")
(arguments
`(#:configure-flags
(list
- "CFLAGS=-O2 -g -fcommon"
+ ,(string-append "CFLAGS=-O2 -g -fcommon"
+ " -Wno-error=implicit-function-declaration"
+ " -Wno-error=int-conversion")
;; XXX: Broken API.
;; Undeclared variables 'sys_nerr' and 'sys_errlist'.
;; "--enable-libv4l2"