~ruther/guix-local

4d8c55de60cf9a5cafc4b881035131921d07314d — Janneke Nieuwenhuizen 10 months ago bfcc3ea
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>
1 files changed, 8 insertions(+), 1 deletions(-)

M gnu/packages/sdl.scm
M gnu/packages/sdl.scm => gnu/packages/sdl.scm +8 -1
@@ 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"