guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 46/70: gnu: pth: Fix build with gcc-14.
Date: Sat, 14 Dec 2024 06:00:07 -0500 (EST)

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

commit 0080edb90d7c033b282ca1e9ae679cfcf99aee12
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]