mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-29 04:01:28 -06: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
60d0c87b6e
commit
ea7bf8a3cb
1 changed files with 3 additions and 1 deletions
|
|
@ -66,7 +66,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"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue