guix-commits
[Top][All Lists]
Advanced

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

46/75: gnu: pth: Fix build with gcc-14.


From: guix-commits
Subject: 46/75: gnu: pth: Fix build with gcc-14.
Date: Sun, 15 Dec 2024 18:06:38 -0500 (EST)

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

commit 7aab2bbc35e20819ddfa9aebc4c65422d0c2cd3a
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Dec 11 16:38:51 2024 +0100

    gnu: pth: Fix build with gcc-14.
    
    * gnu/packages/pth.scm (pth)[arguments]: Add #:configure-flags to relax
    gcc-14's strictness.
    
    Change-Id: Ifb215f3ae393a268b15dc0316b34c5bb8607b46f
---
 gnu/packages/pth.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/pth.scm b/gnu/packages/pth.scm
index 8efede068c..6211741385 100644
--- a/gnu/packages/pth.scm
+++ b/gnu/packages/pth.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2021 Thiago Jung Bauermann <bauermann@kolabnow.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -40,7 +41,9 @@
         "0ckjqw5kz5m30srqi87idj7xhpw6bpki43mj07bazjm2qmh3cdbj"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:parallel-build? #f
+     '(#:configure-flags
+       '("CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")
+       #:parallel-build? #f
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'update-config-scripts



reply via email to

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