~ruther/guix-local

e6e9332be57d4781fbeda88c8c9e7259e718d0ea — Janneke Nieuwenhuizen 1 year, 10 months ago a433af4
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
1 files changed, 4 insertions(+), 5 deletions(-)

M gnu/packages/libedit.scm
M gnu/packages/libedit.scm => gnu/packages/libedit.scm +4 -5
@@ 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/")