summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYelninei <yelninei@tutamail.com>2025-06-22 13:14:58 +0000
committerZheng Junjie <z572@z572.online>2025-06-24 21:42:16 +0800
commit6f1c5aed8a78d77f5c9e7e140da91f0632fbbcd7 (patch)
tree957c00c091d9e3824a8081d4c496bfbdc95a5e15
parent8e874ded5c89091581a100c3150a084b9ae18f8f (diff)
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>
-rw-r--r--gnu/packages/screen.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/screen.scm b/gnu/packages/screen.scm
index 2b3480bdfa..503a7beefe 100644
--- a/gnu/packages/screen.scm
+++ b/gnu/packages/screen.scm
@@ -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'.