[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
157/246: gnu: zsh: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
157/246: gnu: zsh: Fix build with gcc-14. |
Date: |
Sun, 12 Jan 2025 10:21:39 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 66f21def9e54d4ed1a6c887e135d7145e54e7d16
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Jan 2 20:33:11 2025 +0100
gnu: zsh: Fix build with gcc-14.
* gnu/packages/shells.scm (zsh)[arguments]: Add CFLAGS to #:configure-flags
to
relax gcc-14's strictness.
Change-Id: Id0eed01369a49b3da0af858c178a529f8b6526e4
---
gnu/packages/shells.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 7763c2729b..ce8f4c2f01 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -12,7 +12,7 @@
;;; Copyright © 2019 Meiyo Peng <meiyo.peng@gmail.com>
;;; Copyright © 2019 Timothy Sample <samplet@ngyro.com>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
-;;; Copyright © 2019, 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2019, 2020, 2023, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2020, 2022, 2024 Efraim Flashner <efraim@flashner.co.il>
@@ -487,7 +487,12 @@ history mechanism, job control and a C-like syntax.")
(patches (search-patches "zsh-egrep-failing-test.patch"))))
(build-system gnu-build-system)
(arguments `(#:configure-flags
- `("--with-tcsetpgrp"
+ `(,(string-append "CFLAGS=-g -O2"
+ " -Wno-error=implicit-function-declaration"
+ " -Wno-error=implicit-int"
+ " -Wno-error=incompatible-pointer-types"
+ " -Wno-error=int-conversion")
+ "--with-tcsetpgrp"
"--enable-pcre"
"--enable-maildir-support"
;; share/zsh/site-functions isn't populated
- 227/246: gnu: python-h5py: Fix build with gcc-14., (continued)
- 227/246: gnu: python-h5py: Fix build with gcc-14., guix-commits, 2025/01/12
- 234/246: gnu: Add python-tiny-proxy., guix-commits, 2025/01/12
- 233/246: gnu: python-tables: Fix reference to library., guix-commits, 2025/01/12
- 235/246: gnu: python-socks: Update to 2.6.1., guix-commits, 2025/01/12
- 232/246: gnu: python-traittypes: Fix tests., guix-commits, 2025/01/12
- 230/246: gnu: python-pydantic: Fix build., guix-commits, 2025/01/12
- 239/246: gexp: Improve support of Unicode characters., guix-commits, 2025/01/12
- 240/246: gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14., guix-commits, 2025/01/12
- 241/246: gnu: clang-runtime: Remove gcc-12, 13, 14 from native-ipnuts., guix-commits, 2025/01/12
- 242/246: gnu: clang-runtime-18: Build with gcc-12., guix-commits, 2025/01/12
- 157/246: gnu: zsh: Fix build with gcc-14.,
guix-commits <=