mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge 97611921be into merged_master (Bitcoin PR bitcoin/bitcoin#24348)
This commit is contained in:
commit
68949e19cf
2 changed files with 6 additions and 2 deletions
|
|
@ -239,7 +239,7 @@ SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(git -c log.showSignature=false log --f
|
|||
time-machine() {
|
||||
# shellcheck disable=SC2086
|
||||
guix time-machine --url=https://git.savannah.gnu.org/git/guix.git \
|
||||
--commit=1ef7a03a148cf5f83ab1820444f6bd50d8e732d1 \
|
||||
--commit=ae03f401381e956c4c41b4cf495cbde964fa43d0 \
|
||||
--cores="$JOBS" \
|
||||
--keep-failed \
|
||||
--fallback \
|
||||
|
|
|
|||
|
|
@ -162,13 +162,17 @@ desirable for building Bitcoin Core release binaries."
|
|||
(define (make-gcc-with-pthreads gcc)
|
||||
(package-with-extra-configure-variable gcc "--enable-threads" "posix"))
|
||||
|
||||
;; Required to support std::filesystem for mingw-w64 target.
|
||||
(define (make-gcc-without-newlib gcc)
|
||||
(package-with-extra-configure-variable gcc "--with-newlib" "no"))
|
||||
|
||||
(define (make-mingw-pthreads-cross-toolchain target)
|
||||
"Create a cross-compilation toolchain package for TARGET"
|
||||
(let* ((xbinutils (cross-binutils target))
|
||||
(pthreads-xlibc mingw-w64-x86_64-winpthreads)
|
||||
(pthreads-xgcc (make-gcc-with-pthreads
|
||||
(cross-gcc target
|
||||
#:xgcc (make-ssp-fixed-gcc base-gcc)
|
||||
#:xgcc (make-gcc-without-newlib (make-ssp-fixed-gcc base-gcc))
|
||||
#:xbinutils xbinutils
|
||||
#:libc pthreads-xlibc))))
|
||||
;; Define a meta-package that propagates the resulting XBINUTILS, XLIBC, and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue