mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-07-26 08:08:45 +02:00
guix, refactor: Use target variable instead of hardcoded value
This commit is contained in:
@@ -273,7 +273,7 @@ chain for " target " development."))
|
||||
git-minimal)
|
||||
(let ((target (getenv "HOST")))
|
||||
(cond ((string-suffix? "-mingw32" target)
|
||||
(list (make-mingw-pthreads-cross-toolchain "x86_64-w64-mingw32")))
|
||||
(list (make-mingw-pthreads-cross-toolchain target)))
|
||||
((string-contains target "-linux-")
|
||||
(list (list gcc-toolchain-14 "static")
|
||||
(make-bitcoin-cross-toolchain target)))
|
||||
|
||||
Reference in New Issue
Block a user