gnu: libjxr: Fix build with gcc-14.

* gnu/packages/image.scm (libjxr)[arguments]: Extend CFLAGS to relax gcc-14's
strictness.

Change-Id: I44cedd787beae4efb945efde3217999af430c94b
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-02 22:10:50 +01:00
parent 7a9bee700e
commit ed45df3f1c
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -554,8 +554,16 @@ (define-public libjxr
;; flag if there was no file decoding error.
;; The makefile is a "Non-ISO extended-ASCII text, with CRLF line
;; terminators" according to the file(1) utility.
(string-append "CFLAGS=-I. -Icommon/include -Iimage/sys -fPIC "
"-D__ANSI__ -DDISABLE_PERF_MEASUREMENT -w -O "))
(string-append "CFLAGS=-I."
" -Icommon/include"
" -Iimage/sys"
" -D__ANSI__"
" -DDISABLE_PERF_MEASUREMENT"
" -fPIC"
" -w"
" -O"
" -Wno-error=implicit-function-declaration"
" -Wno-error=incompatible-pointer-types"))
#:tests? #f ; no check target
#:phases
(modify-phases %standard-phases