mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: kitty: Fix build with GCC@14.
* gnu/packages/terminals.scm (kitty)[arguments] <phases>: Add CFLAGS argument ignoring warning. Change-Id: I29e13b356cabcdb2e4de9ad9fb03fddd786df15c
This commit is contained in:
parent
35257e52d4
commit
5b8ffb974c
1 changed files with 5 additions and 2 deletions
|
|
@ -1338,8 +1338,11 @@ tmux.")
|
|||
(delete 'configure) ;no configure script
|
||||
(replace 'build
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; Don't fail on deprecation warnings from GCC
|
||||
(setenv "CFLAGS" "-Wno-error=deprecated-declarations")
|
||||
;; Don't fail on deprecation warnings from GCC or when not using
|
||||
;; sizeof in one of the two arguments of calloc
|
||||
(setenv "CFLAGS"
|
||||
(string-append "-Wno-error=deprecated-declarations "
|
||||
"-Wno-error=calloc-transposed-args"))
|
||||
;; The "kitty" sub-directory must be writable prior to
|
||||
;; configuration (e.g., un-setting updates).
|
||||
(for-each make-file-writable (find-files "kitty"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue