mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
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
This commit is contained in:
parent
e01bf1d99d
commit
6aac8c1c77
1 changed files with 3 additions and 1 deletions
|
@ -65,7 +65,9 @@ (define-public libffi
|
|||
;; 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"))
|
||||
|
|
Loading…
Reference in a new issue