guix-commits
[Top][All Lists]
Advanced

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

112/136: gnu: json-c-0.13: Fix build with gcc-13.


From: guix-commits
Subject: 112/136: gnu: json-c-0.13: Fix build with gcc-13.
Date: Wed, 1 Jan 2025 10:24:37 -0500 (EST)

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

commit 22bd5105301c64464156a2bec608d7253b6ce819
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Jan 1 12:09:49 2025 +0100

    gnu: json-c-0.13: Fix build with gcc-13.
    
    * gnu/packages/web.scm (json-c-0.13)[arguments]: New field to relax gcc-14's
    strictness.
    
    Change-Id: I576160cba32e2a89c33228529579bc26e70a6877
---
 gnu/packages/web.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 1646e7a5c8..af221acda9 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1313,7 +1313,13 @@ It aims to conform to RFC 7159.")
                  (set-file-time "config.h.in"
                                 (stat "aclocal.m4"))
                  #t))))
-    (build-system gnu-build-system)))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      #~(list #$(string-append "CFLAGS=-g -O2"
+                               " -Wno-error=calloc-transposed-args"
+                               " 
-Wno-error=implicit-function-declaration"))))))
 
 (define-public json-c-0.12
   (package



reply via email to

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