mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: guile: Fix cross-build for MinGW.
* gnu/packages/guile.scm (guile-3.0)[arguments]: When building for MinGW, relax gcc-14's strictness. Change-Id: Ia94511273ab618d493bab428dbf3f6098276f289
This commit is contained in:
parent
70f553d2b7
commit
5555d8f2da
1 changed files with 6 additions and 0 deletions
|
@ -391,6 +391,12 @@ without requiring the source code to be rewritten.")
|
||||||
#$@(if (target-x86-32?)
|
#$@(if (target-x86-32?)
|
||||||
#~("CFLAGS=-g -O2 -fexcess-precision=standard")
|
#~("CFLAGS=-g -O2 -fexcess-precision=standard")
|
||||||
#~())
|
#~())
|
||||||
|
#$@(if (target-mingw?)
|
||||||
|
#~(#$(string-append
|
||||||
|
"CFLAGS=-g -O2"
|
||||||
|
" -Wno-error=implicit-function-declaration"
|
||||||
|
" -Wno-error=incompatible-pointer-types"))
|
||||||
|
#~())
|
||||||
"--enable-mini-gmp"
|
"--enable-mini-gmp"
|
||||||
'("--disable-static")))
|
'("--disable-static")))
|
||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue