[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/49: gnu: bash-minimal: Fix build for 64bit Hurd.
From: |
guix-commits |
Subject: |
25/49: gnu: bash-minimal: Fix build for 64bit Hurd. |
Date: |
Sun, 10 Nov 2024 05:26:25 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit cf70058256a3be9607fffde6ca1ec4db7b2e564d
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Nov 3 16:12:31 2024 +0100
gnu: bash-minimal: Fix build for 64bit Hurd.
* gnu/packages/bash-minimal.scm (bash)[arguments]: When building with gcc >=
14 use "CFLAGS=-Wno-implicit-function-declaration".
Change-Id: I3fd2da7a1d9011b155084dceadbad649dbb2a1b9
---
gnu/packages/bash.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index 93641a78d5..1a3b014ad7 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.
;;;
@@ -30,6 +31,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages bootstrap)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages gcc)
#:use-module (gnu packages elf)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages readline)
@@ -251,6 +253,13 @@ without modification.")
;; modules and related code.
"ac_cv_func_dlopen=no"
+ ,@(if (version>=? (package-version (current-gcc)) "14")
+ ;; gcc-14 implictly uses -Wimplicit-function-declaration
+ ;; which together with -Werror causes:
+ ;; ./enable.def:492:11: error: implicit declaration of
function ‘dlclose’;
+ '("CFLAGS=-Wno-implicit-function-declaration")
+ '())
+
,@(if (%current-target-system)
'("bash_cv_job_control_missing=no"
"bash_cv_getcwd_malloc=yes")
- 13/49: installer: Fix file-name typos., (continued)
- 13/49: installer: Fix file-name typos., guix-commits, 2024/11/10
- 30/49: gnu: libstdc++: Support the 64bit Hurd., guix-commits, 2024/11/10
- 31/49: gnu: gcc-13, gcc-14: Support being used as parent for gcc-static., guix-commits, 2024/11/10
- 38/49: gnu: pciutils: Support the 64bit Hurd., guix-commits, 2024/11/10
- 21/49: gnu: hurd: Update to v0.9.git20240714., guix-commits, 2024/11/10
- 12/49: installer: Use "partitioning-page" consistently., guix-commits, 2024/11/10
- 22/49: gnu: gcc: Add indirections current-gcc, current-gcc-toolchain., guix-commits, 2024/11/10
- 17/49: installer: Add static-networking template., guix-commits, 2024/11/10
- 33/49: system: image: Add hurd64 image types., guix-commits, 2024/11/10
- 36/49: gnu: perl: Support cross-building for the 64bit Hurd., guix-commits, 2024/11/10
- 25/49: gnu: bash-minimal: Fix build for 64bit Hurd.,
guix-commits <=
- 32/49: DRAFT gnu: bootstrap: Add support for x86_64-gnu, aka the 64bit Hurd., guix-commits, 2024/11/10
- 47/49: gnu: grub: Fix build for the 64bit Hurd., guix-commits, 2024/11/10
- 40/49: gnu: netdde: Update to c0ef248dc7c5ccc1273e2a796f3ece30c5b645df., guix-commits, 2024/11/10
- 39/49: gnu: libpciaccess: Support the 64bit Hurd., guix-commits, 2024/11/10
- 44/49: gnu: hurd: Build fixes for the 64bit Hurd., guix-commits, 2024/11/10
- 49/49: system: hurd: Use 64bit gnumach for the 64bit Hurd., guix-commits, 2024/11/10
- 26/49: gnu: elfutils: Fix build for 64bit Hurd., guix-commits, 2024/11/10
- 24/49: gnu: cross-libc: Support cross-building for the 64bit Hurd., guix-commits, 2024/11/10
- 29/49: gnu: libxcrypt: Support the 64bit Hurd., guix-commits, 2024/11/10
- 34/49: gnu: Add libgpg-error-1.50., guix-commits, 2024/11/10