mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 19:39:34 +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 @@
|
||||||
;; 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))
|
,@(if (or (target-hurd64?)
|
||||||
|
(%current-target-system)
|
||||||
|
(and (target-x86-64?) (target-linux?)))
|
||||||
(list (string-append
|
(list (string-append
|
||||||
"CFLAGS=-g -O2"
|
"CFLAGS=-g -O2"
|
||||||
" -Wno-implicit-function-declaration"))
|
" -Wno-implicit-function-declaration"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue