diff options
author | fanquake <fanquake@gmail.com> | 2024-07-22 17:25:22 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2024-07-23 16:57:02 +0100 |
commit | d1592d2eee1913e734a4f92907e796eb3350c64a (patch) | |
tree | 1df3820649d8d60542be6c869c84ff132cbdc79f /contrib | |
parent | b23690e8216f2b47e8e2c21a9ff057b25c4083ae (diff) |
guix: use gcc-12 to compile winpthreads
Currently, winpthreads is compiled with GCC 11, when we want to be using
GCC 12 for all compilation.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/guix/manifest.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/guix/manifest.scm b/contrib/guix/manifest.scm index 40bbaf68b5..732f65da30 100644 --- a/contrib/guix/manifest.scm +++ b/contrib/guix/manifest.scm @@ -131,7 +131,10 @@ desirable for building Bitcoin Core release binaries." (define (make-mingw-pthreads-cross-toolchain target) "Create a cross-compilation toolchain package for TARGET" (let* ((xbinutils (binutils-mingw-patches (cross-binutils target))) - (pthreads-xlibc mingw-w64-x86_64-winpthreads) + (machine (substring target 0 (string-index target #\-))) + (pthreads-xlibc (make-mingw-w64 machine + #:xgcc (cross-gcc target #:xgcc (gcc-mingw-patches base-gcc)) + #:with-winpthreads? #t)) (pthreads-xgcc (cross-gcc target #:xgcc (gcc-mingw-patches mingw-w64-base-gcc) #:xbinutils xbinutils |