[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/74: gnu: libffi: Fix build for x86_64-linux with gcc-14.
From: |
guix-commits |
Subject: |
08/74: gnu: libffi: Fix build for x86_64-linux with gcc-14. |
Date: |
Wed, 18 Dec 2024 08:06:51 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit e10e84fbda77637fe5e67ca1acbd0d425add85ca
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Dec 3 20:44:24 2024 +0100
gnu: libffi: Fix build for x86_64-linux with gcc-14.
* gnu/packages/libffi.scm (libffi) [arguments]: When building for
x86_64-linux, also use "CFLAGS=-g -O2 -Wno-implicit-function-declaration".
Change-Id: I21af1acdc550c83e63241811a6586598f187b2ef
---
gnu/packages/libffi.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/libffi.scm b/gnu/packages/libffi.scm
index 5ac092da1c..660762ea09 100644
--- a/gnu/packages/libffi.scm
+++ b/gnu/packages/libffi.scm
@@ -65,7 +65,9 @@
;; compiler. See "ax_cc_maxopt.m4" and "ax_gcc_archflag.m4".
#:configure-flags '("--enable-portable-binary"
"--without-gcc-arch"
- ,@(if (or (target-hurd64?) (%current-target-system))
+ ,@(if (or (target-hurd64?)
+ (%current-target-system)
+ (and (target-x86-64?) (target-linux?)))
(list (string-append
"CFLAGS=-g -O2"
" -Wno-implicit-function-declaration"))
- 43/74: gnu: gn: Fix build with gcc-14., (continued)
- 43/74: gnu: gn: Fix build with gcc-14., guix-commits, 2024/12/18
- 06/74: gnu: bash-minimal: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/18
- 25/74: gnu: python-lxml: Update to 5.2.2; fixes build with gcc-14., guix-commits, 2024/12/18
- 26/74: gnu: xmlto: Fix build with gcc-14., guix-commits, 2024/12/18
- 36/74: gnu: texlive-xdvi-bin: Fix build with gcc-14., guix-commits, 2024/12/18
- 44/74: gnu: ntp: Fix build with gcc-14., guix-commits, 2024/12/18
- 46/74: gnu: pth: Fix build with gcc-14., guix-commits, 2024/12/18
- 05/74: gnu: gcc-boot0: Fix building on powerpc64le-linux., guix-commits, 2024/12/18
- 10/74: gnu: zip: Fix build with gcc-14., guix-commits, 2024/12/18
- 07/74: gnu: commencement: gcc-final: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/18
- 08/74: gnu: libffi: Fix build for x86_64-linux with gcc-14.,
guix-commits <=
- 04/74: gnu: commencement: gcc-boot0: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/18
- 18/74: gnu: bdb: Use automake-1.16.5., guix-commits, 2024/12/18
- 15/74: gnu: automake: Update to 1.17; fixes build with gcc-14., guix-commits, 2024/12/18
- 19/74: gnu: elfutils: Update to 0.192; fixes build with gcc-14., guix-commits, 2024/12/18
- 17/74: gnu: automake-1.16.5: Skip tests., guix-commits, 2024/12/18
- 14/74: gnu: automake: Fix build with gcc-14., guix-commits, 2024/12/18
- 24/74: gnu: go-1.21.5: Skip test failing with gcc-14., guix-commits, 2024/12/18
- 28/74: gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14., guix-commits, 2024/12/18
- 29/74: gnu: llvm-13: Fix build with gcc-14., guix-commits, 2024/12/18
- 31/74: gnu: libxaw3d: Update to 1.6.6, fixes build with gcc-14., guix-commits, 2024/12/18