mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: portmidi: Fix build with gcc-14.
* gnu/packages/music.scm (portmidi)[arguments]: Add CMAKE_C_FLAGS to #:configure-flags to relax gcc-14's strictness. Change-Id: I35e8a4d0c8d6db7b76af011b064cc356e95614f2
This commit is contained in:
parent
89ef1c5149
commit
ea1b0b87e9
1 changed files with 3 additions and 1 deletions
|
@ -59,6 +59,7 @@
|
|||
;;; Copyright © 2024 Parnikkapore <poomklao@yahoo.com>
|
||||
;;; Copyright © 2024 hapster <o.rojon@posteo.net>
|
||||
;;; Copyright © 2024 Nikita Domnitskii <nikita@domnitskii.me>
|
||||
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -3095,7 +3096,8 @@ (define-public portmidi
|
|||
`(#:tests? #f ; tests cannot be linked
|
||||
#:build-type "Release" ; needed to have PMALSA set
|
||||
#:configure-flags
|
||||
(list "-DPORTMIDI_ENABLE_JAVA=Off"
|
||||
(list "-DCMAKE_C_FLAGS=-Wno-error=implicit-function-declaration"
|
||||
"-DPORTMIDI_ENABLE_JAVA=Off"
|
||||
"-DPORTMIDI_ENABLE_TEST=Off") ; tests fail linking
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
|
|
Loading…
Reference in a new issue