mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 09:46:52 -05:00
guix: Appease shellcheck.
This commit is contained in:
parent
91897c95e1
commit
df953a4c9a
2 changed files with 5 additions and 4 deletions
|
@ -22,6 +22,7 @@ time-machine() {
|
|||
}
|
||||
|
||||
# Deterministically build Bitcoin Core for HOSTs (overriable by environment)
|
||||
# shellcheck disable=SC2153
|
||||
for host in ${HOSTS=x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu riscv64-linux-gnu x86_64-w64-mingw32}; do
|
||||
|
||||
# Display proper warning when the user interrupts the build
|
||||
|
|
|
@ -55,10 +55,10 @@ case "$HOST" in
|
|||
export CROSS_LIBRARY_PATH="${CROSS_GCC}/lib:${CROSS_GCC}/${HOST}/lib:${CROSS_GCC_LIB}:${CROSS_GLIBC}/lib"
|
||||
;;
|
||||
*linux*)
|
||||
CROSS_GLIBC="$(store_path glibc-cross-${HOST})"
|
||||
CROSS_GLIBC_STATIC="$(store_path glibc-cross-${HOST} static)"
|
||||
CROSS_KERNEL="$(store_path linux-libre-headers-cross-${HOST})"
|
||||
CROSS_GCC="$(store_path gcc-cross-${HOST})"
|
||||
CROSS_GLIBC="$(store_path "glibc-cross-${HOST}")"
|
||||
CROSS_GLIBC_STATIC="$(store_path "glibc-cross-${HOST}" static)"
|
||||
CROSS_KERNEL="$(store_path "linux-libre-headers-cross-${HOST}")"
|
||||
CROSS_GCC="$(store_path "gcc-cross-${HOST}")"
|
||||
CROSS_GCC_LIBS=( "${CROSS_GCC}/lib/gcc/${HOST}"/* ) # This expands to an array of directories...
|
||||
CROSS_GCC_LIB="${CROSS_GCC_LIBS[0]}" # ...we just want the first one (there should only be one)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue