mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +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
7699af7915
commit
65f159ce14
1 changed files with 3 additions and 1 deletions
|
@ -60,6 +60,7 @@
|
|||
;;; Copyright © 2024 hapster <o.rojon@posteo.net>
|
||||
;;; Copyright © 2024 Nikita Domnitskii <nikita@domnitskii.me>
|
||||
;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se>
|
||||
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -3149,7 +3150,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