mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: libicns: Fix build with gcc-14.
* gnu/packages/image.scm (libicns)[arguments]<#:configure-flags>: New field, relaxing errors to warnings. Change-Id: Ie609d4acd2714f91a3675f7c60b3d13d86c39f49 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
87af8a9809
commit
24701a21e8
1 changed files with 19 additions and 12 deletions
|
@ -760,19 +760,26 @@ maximum quality factor.")
|
||||||
"1hjm8lwap7bjyyxsyi94fh5817xzqhk4kb5y0b7mb6675xw10prk"))))
|
"1hjm8lwap7bjyyxsyi94fh5817xzqhk4kb5y0b7mb6675xw10prk"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(if (and (target-riscv64?)
|
(append
|
||||||
(%current-target-system))
|
(list
|
||||||
(list #:phases
|
#:configure-flags
|
||||||
#~(modify-phases %standard-phases
|
#~(list (string-append "CFLAGS= "
|
||||||
(add-after 'unpack 'update-config-scripts
|
;; Relax GCC 14's checks.
|
||||||
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
"-Wno-error=builtin-declaration-mismatch "
|
||||||
(for-each (lambda (file)
|
"-Wno-error=implicit-function-declaration")))
|
||||||
(install-file
|
(if (and (target-riscv64?)
|
||||||
|
(%current-target-system))
|
||||||
|
(list #:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'update-config-scripts
|
||||||
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||||
|
(for-each (lambda (file)
|
||||||
|
(install-file
|
||||||
(search-input-file
|
(search-input-file
|
||||||
(or native-inputs inputs)
|
(or native-inputs inputs)
|
||||||
(string-append "/bin/" file)) "."))
|
(string-append "/bin/" file)) "."))
|
||||||
'("config.guess" "config.sub"))))) )
|
'("config.guess" "config.sub"))))))
|
||||||
'()))
|
'())))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(if (and (target-riscv64?)
|
(if (and (target-riscv64?)
|
||||||
(%current-target-system))
|
(%current-target-system))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue