janneke pushed a commit to branch core-packages-team
in repository guix.

commit e3a622d51b5193766d49c25bebcb06c2372bd126
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
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 49662862f4..47e1f68095 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -315,7 +315,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"

Reply via email to