aboutsummaryrefslogtreecommitdiff
path: root/depends/builders
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-08-27 03:40:30 -0400
committerCory Fields <cory-nospam-@coryfields.com>2014-08-27 03:40:30 -0400
commitdf7565d99c4baca212db6bf1d75b097a7ec58475 (patch)
tree269b569dbfa99c4335513f51eea9995d98341a5b /depends/builders
parentc897b1e732f524e525d1bd150326b7f0632c1b69 (diff)
depends: add sensible download timeout/retry values
Diffstat (limited to 'depends/builders')
-rw-r--r--depends/builders/darwin.mk2
-rw-r--r--depends/builders/linux.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/depends/builders/darwin.mk b/depends/builders/darwin.mk
index 6b734648f0..b366460e64 100644
--- a/depends/builders/darwin.mk
+++ b/depends/builders/darwin.mk
@@ -7,7 +7,7 @@ build_darwin_OTOOL: = $(shell xcrun -f otool)
build_darwin_NM: = $(shell xcrun -f nm)
build_darwin_INSTALL_NAME_TOOL:=$(shell xcrun -f install_name_tool)
build_darwin_SHA256SUM = shasum -a 256
-build_darwin_DOWNLOAD = curl -L -o
+build_darwin_DOWNLOAD = curl --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) --retry $(DOWNLOAD_RETRIES) -L -o
#darwin host on darwin builder. overrides darwin host preferences.
darwin_CC=$(shell xcrun -f clang) -mmacosx-version-min=$(OSX_MIN_VERSION)
diff --git a/depends/builders/linux.mk b/depends/builders/linux.mk
index d98ba597dc..98d0e9de34 100644
--- a/depends/builders/linux.mk
+++ b/depends/builders/linux.mk
@@ -1,2 +1,2 @@
build_linux_SHA256SUM = sha256sum
-build_linux_DOWNLOAD = wget -nv -O
+build_linux_DOWNLOAD = wget --timeout=$(DOWNLOAD_CONNECT_TIMEOUT) --tries=$(DOWNLOAD_RETRIES) -nv -O