guix-commits
[Top][All Lists]
Advanced

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

40/74: gnu: jack-1: Fix build with gcc-14.


From: guix-commits
Subject: 40/74: gnu: jack-1: Fix build with gcc-14.
Date: Wed, 18 Dec 2024 08:07:03 -0500 (EST)

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

commit 0a4d674626694c57afca8765f71600a01f375828
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Dec 11 12:34:53 2024 +0100

    gnu: jack-1: Fix build with gcc-14.
    
    * gnu/packages/audio.scm (jack-1)[arguments]: Add CFLAGS to 
#:configure-flags
    to relax gcc-14's strictness.
    
    Change-Id: Id4506b072e7651991be54f119645d7842757ed0b
---
 gnu/packages/audio.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 970d6a84a5..95c112c9b8 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -49,6 +49,7 @@
 ;;; Copyright © 2024 hapster <o.rojon@posteo.net>
 ;;; Copyright © 2024 mio <stigma@disroot.org>
 ;;; Copyright © 2024 Nikita Domnitskii <nikita@domnitskii.me>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2617,13 +2618,14 @@ especially for creating reverb effects.  It supports 
impulse responses with 1,
         (base32 "0i6l25dmfk2ji2lrakqq9icnwjxklgcjzzk65dmsff91z2zva5rm"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases (modify-phases %standard-phases
+     `(#:configure-flags
+       '("CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")
+       #:phases (modify-phases %standard-phases
                   (add-after 'unpack 'patch-configure
                     (lambda _
                       (substitute* "configure"
                         ;; Install to <out/lib> regardless of platform.
-                        (("libnn=lib64") "libnn=lib"))
-                      #t)))))
+                        (("libnn=lib64") "libnn=lib")))))))
     (inputs
      (list alsa-lib readline))
     ;; uuid.h is included in the JACK type headers



reply via email to

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