janneke pushed a commit to branch core-packages-team
in repository guix.

commit 0afc58dcbb193322e4fad764443c7765ed586e86
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Fri Jan 3 20:26:59 2025 +0100

    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
---
 gnu/packages/libedit.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/libedit.scm b/gnu/packages/libedit.scm
index 01d741fc27..abafb078d0 100644
--- a/gnu/packages/libedit.scm
+++ b/gnu/packages/libedit.scm
@@ -4,7 +4,7 @@
 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <m...@tobias.gr>
 ;;; Copyright © 2019 Gábor Boskovits <boskov...@gmail.com>
 ;;; Copyright © 2020 Giacomo Leidi <goodoldp...@autistici.org>
-;;; Copyright © 2024 Janneke Nieuwenhuizen <jann...@gnu.org>
+;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen <jann...@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/";)

Reply via email to