From e6e9332be57d4781fbeda88c8c9e7259e718d0ea Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Fri, 3 Jan 2025 20:26:59 +0100 Subject: [PATCH] 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 01d741fc279..abafb078d07 100644 --- a/gnu/packages/libedit.scm +++ b/gnu/packages/libedit.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2019 Gábor Boskovits ;;; Copyright © 2020 Giacomo Leidi -;;; Copyright © 2024 Janneke Nieuwenhuizen +;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen ;;; ;;; 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/")