guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

158/216: gnu: libjxr: Fix build with gcc-14.


From: guix-commits
Subject: 158/216: gnu: libjxr: Fix build with gcc-14.
Date: Sat, 4 Jan 2025 07:27:34 -0500 (EST)

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

commit 22020e3815dbf86dc0b17488e11e8f417d8cfa82
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Jan 2 22:10:50 2025 +0100

    gnu: libjxr: Fix build with gcc-14.
    
    * gnu/packages/image.scm (libjxr)[arguments]: Extend CFLAGS to relax 
gcc-14's
    strictness.
    
    Change-Id: I44cedd787beae4efb945efde3217999af430c94b
---
 gnu/packages/image.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 7337a27b88..1745fa57c1 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -554,8 +554,16 @@ lossless JPEG manipulations such as rotation, scaling or 
cropping:
              ;; flag if there was no file decoding error.
              ;; The makefile is a "Non-ISO extended-ASCII text, with CRLF line
              ;; terminators" according to the file(1) utility.
-             (string-append "CFLAGS=-I. -Icommon/include -Iimage/sys -fPIC "
-                            "-D__ANSI__ -DDISABLE_PERF_MEASUREMENT -w -O "))
+             (string-append "CFLAGS=-I."
+                            " -Icommon/include"
+                            " -Iimage/sys"
+                            " -D__ANSI__"
+                            " -DDISABLE_PERF_MEASUREMENT"
+                            " -fPIC"
+                            " -w"
+                            " -O"
+                            " -Wno-error=implicit-function-declaration"
+                            " -Wno-error=incompatible-pointer-types"))
        #:tests? #f ; no check target
        #:phases
        (modify-phases %standard-phases



reply via email to

[Prev in Thread] Current Thread [Next in Thread]