This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] scripts/{complibs,libc}: add HTTP options for isl and newlib


# HG changeset patch
# User Michael Hope <michaelh@juju.net.nz>
# Date 1375388675 0
# Node ID aeb4a850d0786ee62dc2bf565e6de11515409f84
# Parent  1048e4dca434df43ab9927d9dbd6129f4eaa3bac
scripts/{complibs,libc}: add HTTP options for isl and newlib.

Add well-known HTTP mirrors as a fallback.  This lets crosstool-ng
work when behind a HTTP/HTTPS only proxy.

Signed-off-by: Michael Hope <michaelh@juju.net.nz>

diff -r 1048e4dca434 -r aeb4a850d078 scripts/build/companion_libs/121-isl.sh
--- a/scripts/build/companion_libs/121-isl.sh	Wed Jul 24 23:03:48 2013 +0200
+++ b/scripts/build/companion_libs/121-isl.sh	Thu Aug 01 20:24:35 2013 +0000
@@ -13,7 +13,8 @@
 # Download ISL
 do_isl_get() {
     CT_GetFile "isl-${CT_ISL_VERSION}"  \
-        ftp://ftp.linux.student.kuleuven.be/pub/people/skimo/isl/
+        ftp://ftp.linux.student.kuleuven.be/pub/people/skimo/isl/ \
+        http://mirrors.kernel.org/sources.redhat.com/gcc/infrastructure
 }
 
 # Extract ISL
diff -r 1048e4dca434 -r aeb4a850d078 scripts/build/libc/newlib.sh
--- a/scripts/build/libc/newlib.sh	Wed Jul 24 23:03:48 2013 +0200
+++ b/scripts/build/libc/newlib.sh	Thu Aug 01 20:24:35 2013 +0000
@@ -15,7 +15,8 @@
         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

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]