janneke pushed a commit to branch core-packages-team
in repository guix.
commit 2731ea223d1b98d5d75495489e76496f437cbe06
Author: Janneke Nieuwenhuizen <[email protected]>
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 <[email protected]>
;;; Copyright © 2019 Gábor Boskovits <[email protected]>
;;; Copyright © 2020 Giacomo Leidi <[email protected]>
-;;; Copyright © 2024 Janneke Nieuwenhuizen <[email protected]>
+;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; 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/")