[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: |
Sun, 15 Dec 2024 10:03:15 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 3e2f3ff271666ba4bd8e15242a9d825c37437dcb
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"))
- 65/74: gnu: bootstrap: %bootstrap-glibc: Fix linking on armhf-linux., (continued)
- 65/74: gnu: bootstrap: %bootstrap-glibc: Fix linking on armhf-linux., guix-commits, 2024/12/15
- 40/74: gnu: jack-1: Fix build with gcc-14., guix-commits, 2024/12/15
- 72/74: squash! gnu: python-numpy: Update to 1.26.4 and fix build with gcc-14., guix-commits, 2024/12/15
- 48/74: gnu: Add cryptsetup-minimal., guix-commits, 2024/12/15
- 50/74: gnu: openblas: Update to 0.3.28; fixes build with gcc-14., guix-commits, 2024/12/15
- 53/74: gnu: slim: Fix build with gcc-14., guix-commits, 2024/12/15
- 04/74: gnu: commencement: gcc-boot0: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/15
- 14/74: gnu: automake: Fix build with gcc-14., guix-commits, 2024/12/15
- 13/74: gnu: unzip: Fix build with gcc-14., guix-commits, 2024/12/15
- 12/74: gnu: gettext: Update to 0.23., guix-commits, 2024/12/15
- 08/74: gnu: libffi: Fix build for x86_64-linux with gcc-14.,
guix-commits <=
- 23/74: gnu: guile-lzlib: Fix build with gcc-14., guix-commits, 2024/12/15
- 30/74: gnu: hplip: Update to 3.24.4 and fix build with gcc-14., guix-commits, 2024/12/15
- 33/74: gnu: localed: Fix build with gcc-14., guix-commits, 2024/12/15
- 47/74: gnu: tdb: Update to 1.4.12; fixes build with gcc-14., guix-commits, 2024/12/15
- 44/74: gnu: ntp: Fix build with gcc-14., guix-commits, 2024/12/15
- 55/74: gnu: ldb: Update to 2.9.2; fixes build with gcc-14., guix-commits, 2024/12/15
- 57/74: gnu: hurd: Use -Wno-error=., guix-commits, 2024/12/15
- 56/74: gnu: flex: Use -Wno-error= for cross-build., guix-commits, 2024/12/15
- 58/74: gnu: netdde: Use -Wno-error=., guix-commits, 2024/12/15
- 61/74: gnu: libssh: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/15