[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: gnu: bash-minimal: Fix build for x86_64-linux with gcc-14.
From: |
guix-commits |
Subject: |
03/07: gnu: bash-minimal: Fix build for x86_64-linux with gcc-14. |
Date: |
Tue, 3 Dec 2024 15:06:14 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 13531f64f5306c9803ec525547586bcfdb8252d1
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Dec 3 19:49:03 2024 +0100
gnu: bash-minimal: Fix build for x86_64-linux with gcc-14.
* gnu/packages/bash-minimal.scm (bash)[arguments]: When building
for x86_64-linux, also use "CFLAGS=-g -O2
-Wno-implicit-function-declaration".
Change-Id: I21af1acdc550c83e63241811a6586598f187b2ef
---
gnu/packages/bash.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index 642a405985..a5c293f34c 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -266,7 +266,9 @@ 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-64?) (target-linux?)))
;; gcc-14 implictly uses -Wimplicit-function-declaration
;; which together with -Werror causes:
;; ./enable.def:492:11: error: implicit declaration of
function ‘dlclose’;
- branch core-packages-team created (now e8914ae628), guix-commits, 2024/12/03
- 01/07: gnu: commencement: gcc-boot0: Build fix for x86_64-linux with gcc-14., guix-commits, 2024/12/03
- 02/07: gnu: commencement: gcc-final: Fix build for x86_64-linux with gcc-14., guix-commits, 2024/12/03
- 04/07: gnu: libffi: Fix build for x86_64-linux with gcc-14., guix-commits, 2024/12/03
- 07/07: REMOVEME gnu: commencement: static-bash-for-glibc: Avoid rebuild., guix-commits, 2024/12/03
- 03/07: gnu: bash-minimal: Fix build for x86_64-linux with gcc-14.,
guix-commits <=
- 05/07: DRAFT gnu: gcc: Update gcc, gcc-toolchain to 14., guix-commits, 2024/12/03
- 06/07: REMOVEME gnu: commencement: bash-mesboot: Avoid rebuild., guix-commits, 2024/12/03