File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -162,13 +162,17 @@ desirable for building Bitcoin Core release binaries."
162
162
(define (make-gcc-with-pthreads gcc )
163
163
(package-with-extra-configure-variable gcc " --enable-threads" " posix" ))
164
164
165
+ ; ; Required to support std::filesystem for mingw-w64 target.
166
+ (define (make-gcc-without-newlib gcc )
167
+ (package-with-extra-configure-variable gcc " --with-newlib" " no" ))
168
+
165
169
(define (make-mingw-pthreads-cross-toolchain target )
166
170
"Create a cross-compilation toolchain package for TARGET"
167
171
(let* ((xbinutils (cross-binutils target))
168
172
(pthreads-xlibc mingw-w64-x86_64-winpthreads)
169
173
(pthreads-xgcc (make-gcc-with-pthreads
170
174
(cross-gcc target
171
- #:xgcc (make-ssp-fixed-gcc base-gcc)
175
+ #:xgcc (make-gcc-without-newlib (make- ssp-fixed-gcc base-gcc) )
172
176
#:xbinutils xbinutils
173
177
#:libc pthreads-xlibc))))
174
178
; ; Define a meta-package that propagates the resulting XBINUTILS, XLIBC, and
You can’t perform that action at this time.
0 commit comments