summaryrefslogtreecommitdiff
path: root/scripts/build/companion_libs/110-mpfr.sh
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2014-12-08 23:03:08 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2014-12-08 23:03:08 (GMT)
commit79422633cf2d0282ed2d637d2ba237cc3f4e6a8e (patch)
treeab8bf93a3d7e9217bb21fe8c9cd94b083653085e /scripts/build/companion_libs/110-mpfr.sh
parent098c87e98aa0c4b07a632173ddfd72c93df49aad (diff)
scripts: Update download locations
This change updates the download locations to default to the official download site. For gcc and gdb, also separate out the linaro download locations so that if you are downloading the linaro variant, it skips trying to download from the official gcc mirror. This commit closes #3 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'scripts/build/companion_libs/110-mpfr.sh')
-rw-r--r--scripts/build/companion_libs/110-mpfr.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build/companion_libs/110-mpfr.sh b/scripts/build/companion_libs/110-mpfr.sh
index 1a917c2..2fb03aa 100644
--- a/scripts/build/companion_libs/110-mpfr.sh
+++ b/scripts/build/companion_libs/110-mpfr.sh
@@ -12,8 +12,9 @@ if [ "${CT_MPFR}" = "y" ]; then
# Download MPFR
do_mpfr_get() {
- CT_GetFile "mpfr-${CT_MPFR_VERSION}" http://www.mpfr.org/mpfr-current/ \
- http://www.mpfr.org/mpfr-${CT_MPFR_VERSION}/
+ CT_GetFile "mpfr-${CT_MPFR_VERSION}" \
+ http://www.mpfr.org/mpfr-${CT_MPFR_VERSION} \
+ {http,ftp,https}://ftp.gnu.org/gnu/mpfr
}
# Extract MPFR