summaryrefslogtreecommitdiff
path: root/scripts/build/libc
diff options
context:
space:
mode:
authorMichael Hope <michaelh@juju.net.nz>2013-08-01 20:24:35 (GMT)
committerMichael Hope <michaelh@juju.net.nz>2013-08-01 20:24:35 (GMT)
commit8d21f730a6c024c35c1b6406a400ce02629eeffb (patch)
treea94930da44f03c5cd6199e897ecf8560c3db3244 /scripts/build/libc
parent5b5a1ade7f93e77d19e1e219b6ca455467493a98 (diff)
libc/newlib: add HTTP mirror
Add well-known HTTP mirror as a fallback. This lets crosstool-ng work when behind a HTTP/HTTPS only proxy. Signed-off-by: Michael Hope <michaelh@juju.net.nz> [yann.morin.1998@free.fr: split patch in two] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <aeb4a850d0786ee62dc2.1375559989@wanda> Patchwork-Id: 264436
Diffstat (limited to 'scripts/build/libc')
-rw-r--r--scripts/build/libc/newlib.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh
index 068187b..35b20c7 100644
--- a/scripts/build/libc/newlib.sh
+++ b/scripts/build/libc/newlib.sh
@@ -15,7 +15,8 @@ do_libc_get() {
CT_GetCustom "newlib" "${CT_LIBC_VERSION}" \
"${CT_LIBC_NEWLIB_CUSTOM_LOCATION}"
else # ! custom location
- CT_GetFile "newlib-${CT_LIBC_VERSION}" ${libc_src}
+ CT_GetFile "newlib-${CT_LIBC_VERSION}" ${libc_src} \
+ http://mirrors.kernel.org/sources.redhat.com/newlib
fi # ! custom location
if [ "${CT_ATMEL_AVR32_HEADERS}" = "y" ]; then