mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 20:15:25 -06:00
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
This commit is contained in:
parent
9a514ed6e0
commit
2a05153483
1 changed files with 7 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
@ -488,7 +488,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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue