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

commit a23c00e62750388cb5835d076f64519ba8132ed5
Author: Janneke Nieuwenhuizen <jann...@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 4bfc1a9069..e9b8601407 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -53,6 +53,7 @@
 ;;; Copyright © 2025 Junker <d...@junkeria.club>
 ;;; Copyright © 2025 Sughosha <sugho...@disroot.org>
 ;;; Copyright © 2025 Andrew Wong <wonga...@icloud.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <jann...@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2821,13 +2822,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