~ruther/guix-local

5555d8f2da105fefc42d6a4737d34edcfde1c030 — Janneke Nieuwenhuizen 1 year, 2 months ago 70f553d
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
1 files changed, 6 insertions(+), 0 deletions(-)

M gnu/packages/guile.scm
M gnu/packages/guile.scm => gnu/packages/guile.scm +6 -0
@@ 391,6 391,12 @@ without requiring the source code to be rewritten.")
                 #$@(if (target-x86-32?)
                        #~("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"
                 '("--disable-static")))
       ((#:phases phases)