mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
ea7bf8a3cb
commit
db24ad715e
1 changed files with 3 additions and 10 deletions
|
@ -50,7 +50,7 @@
|
||||||
(define-public libffi
|
(define-public libffi
|
||||||
(package
|
(package
|
||||||
(name "libffi")
|
(name "libffi")
|
||||||
(version "3.4.4")
|
(version "3.4.6")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri
|
(uri
|
||||||
|
@ -59,20 +59,13 @@
|
||||||
name "-" version ".tar.gz"))
|
name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0xpn5mqlbdmqgxgp910ba1qj79axpwr8nh7wklmcz0ls4nnmcv6n"))))
|
"0kjsi51phx1pskjhhwa9y5fxdazzxgrl0m421sjsfqy84ggskpmh"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(;; Prevent the build system from passing -march and -mtune to the
|
`(;; Prevent the build system from passing -march and -mtune to the
|
||||||
;; compiler. See "ax_cc_maxopt.m4" and "ax_gcc_archflag.m4".
|
;; compiler. See "ax_cc_maxopt.m4" and "ax_gcc_archflag.m4".
|
||||||
#:configure-flags '("--enable-portable-binary"
|
#:configure-flags '("--enable-portable-binary"
|
||||||
"--without-gcc-arch"
|
"--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"))
|
|
||||||
'()))))
|
|
||||||
(outputs '("out" "debug"))
|
(outputs '("out" "debug"))
|
||||||
(synopsis "Foreign function call interface library")
|
(synopsis "Foreign function call interface library")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue