[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/61: gnu: libffi: Fix build for x86_64-linux with gcc-14.
From: |
guix-commits |
Subject: |
09/61: gnu: libffi: Fix build for x86_64-linux with gcc-14. |
Date: |
Thu, 12 Dec 2024 05:41:56 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit bd6dd3fb7b616902fd4977f793754b1e831057fd
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 62be8f0c4a..acd270ba87 100644
--- a/gnu/packages/libffi.scm
+++ b/gnu/packages/libffi.scm
@@ -62,7 +62,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"))
- 17/61: gnu: Re-Add automake-1.16.5., (continued)
- 17/61: gnu: Re-Add automake-1.16.5., guix-commits, 2024/12/12
- 30/61: gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14., guix-commits, 2024/12/12
- 39/61: gnu: fontforge: Update to 20230101 and fix build with gettext-0.23., guix-commits, 2024/12/12
- 41/61: gnu: cyrus-sasl: Fix build mwith gcc-14., guix-commits, 2024/12/12
- 45/61: gnu: gn: Fix build with gcc-14., guix-commits, 2024/12/12
- 46/61: gnu: ntp: Fix build with gcc-14., guix-commits, 2024/12/12
- 51/61: gnu: Use cryptsetup-minimal instead of cryptsetup., guix-commits, 2024/12/12
- 61/61: DRAFT gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14., guix-commits, 2024/12/12
- 48/61: gnu: pth: Fix build with gcc-14., guix-commits, 2024/12/12
- 31/61: gnu: llvm-13: Fix build with gcc-14., guix-commits, 2024/12/12
- 09/61: gnu: libffi: Fix build for x86_64-linux with gcc-14.,
guix-commits <=
- 01/61: Revert "Partial revert "gnu: bootstrap: %bootstrap-gcc: Also wrap g++ for the 64bit Hurd."", guix-commits, 2024/12/12
- 14/61: gnu: unzip: Fix build with gcc-14., guix-commits, 2024/12/12
- 16/61: gnu: automake: Update to 1.17; fixes build with gcc-14., guix-commits, 2024/12/12
- 19/61: gnu: bdb: Use automake-1.16.5., guix-commits, 2024/12/12
- 18/61: gnu: automake-1.16.5: Skip tests., guix-commits, 2024/12/12
- 23/61: gnu: commencement: static-bash-for-glibc Fix x86-linux build., guix-commits, 2024/12/12
- 25/61: gnu: guile-lzlib: Fix build with gcc-14., guix-commits, 2024/12/12
- 26/61: gnu: go-1.21.5: Skip test failing with gcc-14., guix-commits, 2024/12/12
- 29/61: gnu: cmake-bootstrap: Fix build with gcc-14., guix-commits, 2024/12/12
- 27/61: gnu: python-lxml: Update to 5.2.2; fixes build with gcc-14., guix-commits, 2024/12/12