|
|
@ -130,6 +130,7 @@ chain for " target " development."))
|
|
|
|
(license (package-license xgcc)))))
|
|
|
|
(license (package-license xgcc)))))
|
|
|
|
|
|
|
|
|
|
|
|
(define base-gcc gcc-10)
|
|
|
|
(define base-gcc gcc-10)
|
|
|
|
|
|
|
|
(define base-linux-kernel-headers linux-libre-headers-5.15)
|
|
|
|
|
|
|
|
|
|
|
|
;; Building glibc with stack smashing protector first landed in glibc 2.25, use
|
|
|
|
;; Building glibc with stack smashing protector first landed in glibc 2.25, use
|
|
|
|
;; this function to disable for older glibcs
|
|
|
|
;; this function to disable for older glibcs
|
|
|
@ -148,7 +149,7 @@ chain for " target " development."))
|
|
|
|
(define* (make-bitcoin-cross-toolchain target
|
|
|
|
(define* (make-bitcoin-cross-toolchain target
|
|
|
|
#:key
|
|
|
|
#:key
|
|
|
|
(base-gcc-for-libc gcc-7)
|
|
|
|
(base-gcc-for-libc gcc-7)
|
|
|
|
(base-kernel-headers linux-libre-headers-4.9)
|
|
|
|
(base-kernel-headers base-linux-kernel-headers)
|
|
|
|
(base-libc (make-glibc-without-ssp glibc-2.24))
|
|
|
|
(base-libc (make-glibc-without-ssp glibc-2.24))
|
|
|
|
(base-gcc (make-gcc-rpath-link base-gcc)))
|
|
|
|
(base-gcc (make-gcc-rpath-link base-gcc)))
|
|
|
|
"Convenience wrapper around MAKE-CROSS-TOOLCHAIN with default values
|
|
|
|
"Convenience wrapper around MAKE-CROSS-TOOLCHAIN with default values
|
|
|
@ -604,7 +605,7 @@ inspecting signatures in Mach-O binaries.")
|
|
|
|
(cond ((string-contains target "riscv64-")
|
|
|
|
(cond ((string-contains target "riscv64-")
|
|
|
|
(make-bitcoin-cross-toolchain target
|
|
|
|
(make-bitcoin-cross-toolchain target
|
|
|
|
#:base-libc glibc-2.27/bitcoin-patched
|
|
|
|
#:base-libc glibc-2.27/bitcoin-patched
|
|
|
|
#:base-kernel-headers linux-libre-headers-4.19))
|
|
|
|
#:base-kernel-headers base-linux-kernel-headers))
|
|
|
|
(else
|
|
|
|
(else
|
|
|
|
(make-bitcoin-cross-toolchain target)))))
|
|
|
|
(make-bitcoin-cross-toolchain target)))))
|
|
|
|
((string-contains target "darwin")
|
|
|
|
((string-contains target "darwin")
|
|
|
|