gnu: libedit: Fix build with gcc-14.

* gnu/packages/libedit.scm (libedit)[arguments]: Use cross-build relaxing of
gcc-14's strictness for any build.

Change-Id: I521175485c818f2ad280468e227d82f76efc1b52
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-03 20:26:59 +01:00 committed by Andreas Enge
parent a433af42fa
commit e6e9332be5
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -4,7 +4,7 @@
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com>
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -43,10 +43,9 @@
(base32 "0wch48nml28jj6ild889745dsg2agm7mpvrmbl1gi98nw6vjrf6v"))))
(build-system gnu-build-system)
(arguments
(if (and (%current-target-system) (target-x86-32?))
(list #:configure-flags
#~(list "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types"))
'()))
(list
#:configure-flags
#~(list "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")))
(inputs
(list ncurses))
(home-page "https://thrysoee.dk/editline/")