wget: Use --no-passive-ftp, helps with firewalls.
[fw/cortex-toolchain] / summon-arm-toolchain
index 6f268e26a0c882c36634a7e68e141215fd930401..7606face5ccabfa28e005066c822a2819bdd2ffd 100755 (executable)
@@ -54,13 +54,13 @@ echo "Downloading binutils sources..."
 wget -c http://ftp.gnu.org/gnu/binutils/${BINUTILS}.tar.bz2
 
 echo "Downloading gcc sources..."
-wget -c ftp://ftp.gnu.org/gnu/gcc/${GCC}/${GCC}.tar.bz2
+wget -c http://ftp.gnu.org/gnu/gcc/${GCC}/${GCC}.tar.bz2
 
 echo "Downloading newlib sources..."
-wget -c ftp://sources.redhat.com/pub/newlib/${NEWLIB}.tar.gz
+wget -c --no-passive-ftp ftp://sources.redhat.com/pub/newlib/${NEWLIB}.tar.gz
 
 echo "Downloading gdb sources..."
-wget -c ftp://ftp.gnu.org/gnu/gdb/${GDB}.tar.bz2
+wget -c http://ftp.gnu.org/gnu/gdb/${GDB}.tar.bz2
 
 if [ ${LIBSTM32_EN} != 0 ]; then
 if [ ! -e libcmsis-${LIBCMSIS}.tar.bz2 ]; then