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."
162162(define (make-gcc-with-pthreads gcc )
163163 (package-with-extra-configure-variable gcc " --enable-threads" " posix" ))
164164
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+
165169(define (make-mingw-pthreads-cross-toolchain target )
166170 "Create a cross-compilation toolchain package for TARGET"
167171 (let* ((xbinutils (cross-binutils target))
168172 (pthreads-xlibc mingw-w64-x86_64-winpthreads)
169173 (pthreads-xgcc (make-gcc-with-pthreads
170174 (cross-gcc target
171- #:xgcc (make-ssp-fixed-gcc base-gcc)
175+ #:xgcc (make-gcc-without-newlib (make- ssp-fixed-gcc base-gcc) )
172176 #:xbinutils xbinutils
173177 #:libc pthreads-xlibc))))
174178 ; ; Define a meta-package that propagates the resulting XBINUTILS, XLIBC, and
You can’t perform that action at this time.
0 commit comments