mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: sdl-image-1.2.12: Fix build with gcc-14.
* gnu/packages/sdl.scm (sdl-image): Add CFLAGS to #:configure-flags to relax gcc-14's strictness. Change-Id: Ib589af2325488cc9e96333fd3046983714357508
This commit is contained in:
parent
b35d3aab11
commit
09fa695e42
1 changed files with 9 additions and 5 deletions
|
@ -16,6 +16,7 @@
|
|||
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2023 Evgeny Pisemsky <mail@pisemsky.site>
|
||||
;;; Copyright © 2023, 2024 dan <i@dan.games>
|
||||
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -288,11 +289,14 @@ (define-public sdl-image
|
|||
(build-system gnu-build-system)
|
||||
(outputs '("out" "debug"))
|
||||
(arguments
|
||||
;; Explicitly link against shared libraries instead of dlopening them.
|
||||
'(#:configure-flags '("--disable-jpg-shared"
|
||||
"--disable-png-shared"
|
||||
"--disable-tif-shared"
|
||||
"--disable-webp-shared")))
|
||||
(list
|
||||
#:configure-flags
|
||||
#~(list "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types"
|
||||
;; Explicitly link against shared libraries instead of dlopening them.
|
||||
"--disable-jpg-shared"
|
||||
"--disable-png-shared"
|
||||
"--disable-tif-shared"
|
||||
"--disable-webp-shared")))
|
||||
(native-inputs (list pkg-config))
|
||||
;; libjpeg, libpng, and libtiff are propagated inputs because the
|
||||
;; SDL_image headers include the headers of these libraries. SDL is a
|
||||
|
|
Loading…
Reference in a new issue