aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/crossguid
diff options
context:
space:
mode:
authorLukas Rusak <lorusak@gmail.com>2023-01-20 12:30:26 -0800
committerLukas Rusak <lorusak@gmail.com>2023-02-07 20:57:12 -0800
commitf91e9d943221319b825cc696a140b4f343b26e3e (patch)
treec574132bb2cbfe9fcd929260d38a4551c9be9d85 /tools/depends/target/crossguid
parenta15e07f7ee5368a4e153446a8fd3704abfa889dd (diff)
tools/depends: improve download retry logic
This also adds the ability to print the new sha512 hash if there is a mismatch
Diffstat (limited to 'tools/depends/target/crossguid')
-rw-r--r--tools/depends/target/crossguid/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/target/crossguid/Makefile b/tools/depends/target/crossguid/Makefile
index f37050dab5..5b67a8e46e 100644
--- a/tools/depends/target/crossguid/Makefile
+++ b/tools/depends/target/crossguid/Makefile
@@ -14,7 +14,7 @@ else
PLATFORM = native
TARBALLS_LOCATION = $(ROOT_DIR)
BASE_URL := http://mirrors.kodi.tv/build-deps/sources
- RETRIEVE_TOOL := curl -Ls --create-dirs -f -O
+ RETRIEVE_TOOL := curl -LsS --create-dirs --retry 10 --retry-connrefused -o
ARCHIVE_TOOL := tar --strip-components=1 -xf
CMAKE := cmake
CMAKE_OPTIONS := -DCMAKE_INSTALL_PREFIX=$(PREFIX) $(CMAKE_OPTIONS)