guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/75: gnu: libffi: Update to 3.4.6; fixes build with gcc-14.


From: guix-commits
Subject: 09/75: gnu: libffi: Update to 3.4.6; fixes build with gcc-14.
Date: Sun, 15 Dec 2024 18:06:26 -0500 (EST)

janneke pushed a commit to branch core-packages-team-old
in repository guix.

commit f02bc80d09962f694e5589b8b63cac6a112030c4
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Dec 5 08:03:10 2024 +0100

    gnu: libffi: Update to 3.4.6; fixes build with gcc-14.
    
    * gnu/packages/libffi.scm (libffi): Update to 3.4.6.
    [arguments]: Remove CFLAGS hack.
    
    Change-Id: I1d9ea6094e42d154f6fa17b47106e066b32d9ca2
---
 gnu/packages/libffi.scm | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/libffi.scm b/gnu/packages/libffi.scm
index 660762ea09..7e2bbba042 100644
--- a/gnu/packages/libffi.scm
+++ b/gnu/packages/libffi.scm
@@ -49,7 +49,7 @@
 (define-public libffi
   (package
     (name "libffi")
-    (version "3.4.4")
+    (version "3.4.6")
     (source (origin
               (method url-fetch)
               (uri
@@ -58,20 +58,13 @@
                               name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0xpn5mqlbdmqgxgp910ba1qj79axpwr8nh7wklmcz0ls4nnmcv6n"))))
+                "0kjsi51phx1pskjhhwa9y5fxdazzxgrl0m421sjsfqy84ggskpmh"))))
     (build-system gnu-build-system)
     (arguments
      `(;; Prevent the build system from passing -march and -mtune to the
        ;; 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)
-                                     (and (target-x86-64?) (target-linux?)))
-                                 (list (string-append
-                                        "CFLAGS=-g -O2"
-                                        " -Wno-implicit-function-declaration"))
-                                 '()))))
+                           "--without-gcc-arch")))
     (outputs '("out" "debug"))
     (synopsis "Foreign function call interface library")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]