mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: screen: Fix build with gcc-14.
* gnu/packages/screen.scm (screen): [#:configure-flags]: Add -Wno-error=int-conversions and -Wno-error=incompatible-pointer-types to CFLAGS. Change-Id: I14166477ff104ed1e64b9deebb89e032b50f69f9 Signed-off-by: Zheng Junjie <z572@z572.online>
This commit is contained in:
parent
8e874ded5c
commit
6f1c5aed8a
1 changed files with 4 additions and 1 deletions
|
|
@ -74,7 +74,10 @@
|
|||
(list
|
||||
#:configure-flags
|
||||
;; GNU_SOURCE must be defined for mallocmock_reset() to be defined
|
||||
#~(list "CFLAGS=-O2 -g -D_GNU_SOURCE=1"
|
||||
#~(list (string-append "CFLAGS=-O2 -g -D_GNU_SOURCE=1"
|
||||
;; relax gcc-14's strictness, needed for tests.
|
||||
" -Wno-error=int-conversion"
|
||||
" -Wno-error=incompatible-pointer-types")
|
||||
|
||||
;; By default, screen supports 16 colors, but we want 256 when
|
||||
;; ~/.screenrc contains 'term xterm-256color'.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue