mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
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:
parent
7a9bee700e
commit
ed45df3f1c
1 changed files with 10 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue