mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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
2a05153483
commit
3cdebf0138
1 changed files with 11 additions and 3 deletions
|
@ -26,7 +26,7 @@
|
||||||
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
|
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
|
||||||
;;; Copyright © 2020 R Veera Kumar <vkor@vkten.in>
|
;;; Copyright © 2020 R Veera Kumar <vkor@vkten.in>
|
||||||
;;; Copyright © 2020, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2020, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
;;; Copyright © 2020, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||||
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
|
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
|
||||||
;;; Copyright © 2020, 2021, 2022, 2023, 2024 Vinicius Monego <monego@posteo.net>
|
;;; Copyright © 2020, 2021, 2022, 2023, 2024 Vinicius Monego <monego@posteo.net>
|
||||||
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
|
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
|
||||||
|
@ -625,8 +625,16 @@ lossless JPEG manipulations such as rotation, scaling or cropping:
|
||||||
;; flag if there was no file decoding error.
|
;; flag if there was no file decoding error.
|
||||||
;; The makefile is a "Non-ISO extended-ASCII text, with CRLF line
|
;; The makefile is a "Non-ISO extended-ASCII text, with CRLF line
|
||||||
;; terminators" according to the file(1) utility.
|
;; terminators" according to the file(1) utility.
|
||||||
(string-append "CFLAGS=-I. -Icommon/include -Iimage/sys -fPIC "
|
(string-append "CFLAGS=-I."
|
||||||
"-D__ANSI__ -DDISABLE_PERF_MEASUREMENT -w -O "))
|
" -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
|
#:tests? #f ; no check target
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue