1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-26 11:01:48 +02:00

gnu: sdl-mixer: Fix build with gcc@14.

* gnu/packages/sdl.scm (sdl-mixer)[arguments]<#:configure-flags>:
Add CFLAGS to declare warnings as non-errors.

Change-Id: Ic5e183bbe7e0d0ab0bcc51a0d238ceecaf235121
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Janneke Nieuwenhuizen
2025-07-18 20:37:13 +02:00
committed by Andreas Enge
parent bfcc3ea19a
commit 4d8c55de60
+8 -1
View File
@@ -428,7 +428,14 @@ WEBP, XCF, XPM, and XV.")
(arguments
`(#:tests? #f ; No check target.
#:configure-flags
'("--enable-music-mp3-mad-gpl" ; Use libmad instead of smpeg.
`(,(string-append "CFLAGS=-g -O2"
" -Wno-error=implicit-function-declaration"
" -Wno-error=incompatible-pointer-types"
" -Wno-error=return-mismatch")
"--enable-music-mp3-mad-gpl" ; Use libmad instead of smpeg.
;; Explicitly link against shared libraries instead of dlopening them.
"--disable-music-flac-shared"
"--disable-music-fluidsynth-shared"
;; Explicitly link against shared libraries instead of dlopening them.
"--disable-music-flac-shared"
"--disable-music-fluidsynth-shared"