[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/51: gnu: bash-minimal: Support [cross-]build with gcc-14.
From: |
guix-commits |
Subject: |
06/51: gnu: bash-minimal: Support [cross-]build with gcc-14. |
Date: |
Mon, 18 Nov 2024 18:13:20 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit e7f502729665cbea95a5ac557ae8e0dfd108ed04
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Nov 3 16:12:31 2024 +0100
gnu: bash-minimal: Support [cross-]build with gcc-14.
* gnu/packages/bash-minimal.scm (bash)[arguments]: When building for the
64bit
hurd, or cross-building, use "CFLAGS=-g -O2
-Wno-implicit-function-declaration".
Change-Id: I1356c0aeac303bdf0254c28815716c83884008a0
---
gnu/packages/bash.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index 93641a78d5..56918d79bd 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
;;; Copyright © 2021 Marius Bakke <marius@gnu.org>
;;; Copyright © 2024 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -251,6 +252,13 @@ without modification.")
;; modules and related code.
"ac_cv_func_dlopen=no"
+ ,@(if (or (target-hurd64?) (%current-target-system))
+ ;; gcc-14 implictly uses -Wimplicit-function-declaration
+ ;; which together with -Werror causes:
+ ;; ./enable.def:492:11: error: implicit declaration of
function ‘dlclose’;
+ '("CFLAGS=-g -O2 -Wno-implicit-function-declaration")
+ '())
+
,@(if (%current-target-system)
'("bash_cv_job_control_missing=no"
"bash_cv_getcwd_malloc=yes")
- branch hurd-team created (now c7db5d435d), guix-commits, 2024/11/18
- 01/51: gnu: gnumach: Update to v1.8+git20240714., guix-commits, 2024/11/18
- 02/51: gnu: mig: Update to 1.8+git20231217., guix-commits, 2024/11/18
- 07/51: gnu: elfutils: Fix build for 64bit Hurd., guix-commits, 2024/11/18
- 10/51: gnu: libxcrypt: Support the 64bit Hurd., guix-commits, 2024/11/18
- 11/51: gnu: libstdc++: Support the 64bit Hurd., guix-commits, 2024/11/18
- 03/51: gnu: hurd: Update to 0.9.git20240714., guix-commits, 2024/11/18
- 04/51: gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd., guix-commits, 2024/11/18
- 05/51: gnu: cross-libc: Support cross-building for the 64bit Hurd., guix-commits, 2024/11/18
- 06/51: gnu: bash-minimal: Support [cross-]build with gcc-14.,
guix-commits <=
- 14/51: gnu: git-minimal: Support [cross-]build with gcc-14 and the 64bit Hurd., guix-commits, 2024/11/18
- 16/51: gnu: libffi: Fix [cross-]build with gcc-14., guix-commits, 2024/11/18
- 29/51: gnu: pciutils: Support the 64bit Hurd., guix-commits, 2024/11/18
- 21/51: gnu: libedit: Fix [cross-]build with gcc-14 for 32bit., guix-commits, 2024/11/18
- 39/51: gnu: m4: Fix build for the 64bit Hurd., guix-commits, 2024/11/18
- 33/51: gnu: rumpkernel: Update to f1ffd6405f225336e595a0f99f01095ed7438337., guix-commits, 2024/11/18
- 44/51: gnu: gettext: Fix cross-build shebangs., guix-commits, 2024/11/18
- 46/51: gnu: guile-lzlib: Support the 64bit Hurd., guix-commits, 2024/11/18
- 38/51: gnu: guile-fibers: Fix build for the 64bit Hurd., guix-commits, 2024/11/18
- 09/51: gnu: patch: Fix build for the 64bit Hurd., guix-commits, 2024/11/18