[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/71: gnu: bash-minimal: Fix build for x86-linux with gcc-14.
From: |
guix-commits |
Subject: |
06/71: gnu: bash-minimal: Fix build for x86-linux with gcc-14. |
Date: |
Sun, 15 Dec 2024 03:42:49 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit bda95d359309904b959f78294cd08141ccd210ec
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Dec 3 19:49:03 2024 +0100
gnu: bash-minimal: Fix build for x86-linux with gcc-14.
* gnu/packages/bash-minimal.scm (bash)[arguments]: When building
for x86-linux, also use CFLAGS in #:configure-flags to relax gcc-14's
strictness.
Change-Id: I21af1acdc550c83e63241811a6586598f187b2ef
---
gnu/packages/bash.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index 642a405985..c0d46761e9 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -266,11 +266,13 @@ without modification.")
;; modules and related code.
"ac_cv_func_dlopen=no"
- ,@(if (or (target-hurd64?) (%current-target-system))
+ ,@(if (or (target-hurd64?)
+ (%current-target-system)
+ (and (target-x86?) (target-linux?)))
;; 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")
+ '("CFLAGS=-g -O2
-Wno-error=implicit-function-declaration")
'())
,@(if (%current-target-system)
- branch core-packages-team created (now d4a16790d0), guix-commits, 2024/12/15
- 04/71: gnu: commencement: gcc-boot0: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/15
- 05/71: gnu: gcc-boot0: Fix building on powerpc64le-linux., guix-commits, 2024/12/15
- 02/71: Revert "Partial revert "gnu: bootstrap: %bootstrap-glibc: Also fix libm.so."", guix-commits, 2024/12/15
- 06/71: gnu: bash-minimal: Fix build for x86-linux with gcc-14.,
guix-commits <=
- 01/71: Revert "Partial revert "gnu: bootstrap: %bootstrap-gcc: Also wrap g++ for the 64bit Hurd."", guix-commits, 2024/12/15
- 10/71: gnu: zip: Fix build with gcc-14., guix-commits, 2024/12/15
- 03/71: Revert "Partial revert "gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd."", guix-commits, 2024/12/15
- 07/71: gnu: commencement: gcc-final: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/15
- 08/71: gnu: libffi: Fix build for x86_64-linux with gcc-14., guix-commits, 2024/12/15
- 16/71: gnu: Re-Add automake-1.16.5., guix-commits, 2024/12/15
- 19/71: gnu: elfutils: Update to 0.192; fixes build with gcc-14., guix-commits, 2024/12/15
- 27/71: gnu: cmake-bootstrap: Fix build with gcc-14., guix-commits, 2024/12/15
- 29/71: gnu: llvm-13: Fix build with gcc-14., guix-commits, 2024/12/15
- 26/71: gnu: xmlto: Fix build with gcc-14., guix-commits, 2024/12/15