[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/58: gnu: libedit: Fix [cross-]build with gcc-14 for 32bit.
From: |
guix-commits |
Subject: |
21/58: gnu: libedit: Fix [cross-]build with gcc-14 for 32bit. |
Date: |
Sun, 24 Nov 2024 02:50:37 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 8a26c747401226b6e942ab890fe2e605b6bd8680
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Nov 18 22:59:46 2024 +0100
gnu: libedit: Fix [cross-]build with gcc-14 for 32bit.
* gnu/packages/libedit.scm (libedit)[arguments]: When cross-compiling to a
32bit host, add CFLAGS to #:configure-flags to disable a breaking warning.
Change-Id: Ibab7332af162aed38158a50e9b4fc288b4286922
---
gnu/packages/libedit.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/libedit.scm b/gnu/packages/libedit.scm
index f04d3aafe4..252f8a4966 100644
--- a/gnu/packages/libedit.scm
+++ b/gnu/packages/libedit.scm
@@ -4,6 +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>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,8 +22,10 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages libedit)
+ #:use-module (guix gexp)
#:use-module (guix licenses)
#:use-module (guix packages)
+ #:use-module (guix utils)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages ncurses))
@@ -39,6 +42,11 @@
(sha256
(base32 "0wch48nml28jj6ild889745dsg2agm7mpvrmbl1gi98nw6vjrf6v"))))
(build-system gnu-build-system)
+ (arguments
+ (if (and (%current-target-system) (target-x86-32?))
+ (list #:configure-flags
+ #~(list "CFLAGS=-g -O2 -Wno-incompatible-pointer-types"))
+ '()))
(inputs
(list ncurses))
(home-page "https://thrysoee.dk/editline/")
- 49/58: gnu: bootstrap: %bootstrap-glibc: Also fix libm.so., (continued)
- 49/58: gnu: bootstrap: %bootstrap-glibc: Also fix libm.so., guix-commits, 2024/11/24
- 32/58: gnu: pciutils: Support the 64bit Hurd., guix-commits, 2024/11/24
- 05/58: gnu: cross-libc: Support cross-building for the 64bit Hurd., guix-commits, 2024/11/24
- 57/58: gnu: commencement: gcc-boot0: Support the 64bit Hurd., guix-commits, 2024/11/24
- 15/58: gnu: flex: Fix [cross-]build with gcc-14., guix-commits, 2024/11/24
- 12/58: gnu: glibc/hurd: Add patches for the 64bit Hurd., guix-commits, 2024/11/24
- 16/58: gnu: libffi: Fix [cross-]build with gcc-14., guix-commits, 2024/11/24
- 18/58: gnu: texinfo-4: Fix [cross-]build with gcc-14 and the 64bit Hurd., guix-commits, 2024/11/24
- 24/58: gnu: cross-base: Update %xgcc to gcc-14, to support the 64bit Hurd., guix-commits, 2024/11/24
- 22/58: gnu: libssh: Fix [cross-]build with gcc-14 for 32bit., guix-commits, 2024/11/24
- 21/58: gnu: libedit: Fix [cross-]build with gcc-14 for 32bit.,
guix-commits <=
- 30/58: gnu: libgpg-error: Support the 64bit Hurd., guix-commits, 2024/11/24
- 36/58: gnu: rumpkernel: Update to f1ffd6405f225336e595a0f99f01095ed7438337., guix-commits, 2024/11/24
- 40/58: gnu: grub: Fix build for the 64bit Hurd., guix-commits, 2024/11/24
- 48/58: gnu: Add gdb-15.2, with support for the 64bit Hurd., guix-commits, 2024/11/24
- 38/58: gnu: hurd: Build fixes for the 64bit Hurd., guix-commits, 2024/11/24
- 51/58: system: examples: Add devel-hurd64.tmpl., guix-commits, 2024/11/24
- 52/58: gnu: Use gcc-14, gcc-toolchain-14 on the 64bit Hurd., guix-commits, 2024/11/24
- 55/58: gnu: bootstrap: %bootstrap-gcc: Also wrap g++ for the 64bit Hurd., guix-commits, 2024/11/24
- 54/58: gnu: hurd: Add refcounts-assert patch., guix-commits, 2024/11/24
- 35/58: gnu: netdde: Support the 64bit Hurd., guix-commits, 2024/11/24