1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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
This commit is contained in:
Janneke Nieuwenhuizen
2024-12-11 12:34:53 +01:00
committed by Andreas Enge
parent c4c7fd111f
commit 42966034db

View File

@@ -54,6 +54,7 @@
;;; Copyright © 2025 Sughosha <sughosha@disroot.org>
;;; Copyright © 2025 Andrew Wong <wongandj@icloud.com>
;;; Copyright © 2025 Kjartan Oli Agustsson <kjartanoli@outlook.com>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3000,13 +3001,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