aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMasanori Ogino <masanori.ogino@gmail.com>2016-05-25 23:01:18 +0900
committerPalmer Dabbelt <palmer@dabbelt.com>2016-06-01 16:43:02 -0700
commit40095b91425463d93b9ef29f97d4c756ccfb1829 (patch)
treef15e570411bfe3da82db5bcfc2742e6b0d82ccb2 /configure
parent0c85fd51ad95136d374ff7fb7e3f41e2aeaf1a52 (diff)
downloadriscv-gnu-toolchain-40095b91425463d93b9ef29f97d4c756ccfb1829.zip
riscv-gnu-toolchain-40095b91425463d93b9ef29f97d4c756ccfb1829.tar.gz
riscv-gnu-toolchain-40095b91425463d93b9ef29f97d4c756ccfb1829.tar.bz2
Add -L option for curl to follow redirects.
It is necessary to fetch tarballs from e.g. GitHub. Signed-off-by: Masanori Ogino <masanori.ogino@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index c957d0d..195ac20 100755
--- a/configure
+++ b/configure
@@ -3176,7 +3176,7 @@ fi
if test x"$CURL" != xno; then :
- FETCHER="$CURL -o - --ftp-pasv"
+ FETCHER="$CURL -L -o - --ftp-pasv"
elif test x"$WGET" != xno; then :
FETCHER="$WGET -O -"
elif test x"$FTP" != xno; then :