about summary refs log tree commit diff
path: root/src/ci/docker
diff options
context:
space:
mode:
authorSmitty <me@smitop.com>2021-06-25 17:15:36 -0400
committerSmitty <me@smitop.com>2021-06-25 17:15:36 -0400
commit3da037f82988b8b3aca2ce13c5c81ba975923cab (patch)
treec124fdd21e80e20b87243469c9be46112d814ed2 /src/ci/docker
parent157898e7d597747c15f6e6b570f763fd401550a3 (diff)
downloadrust-3da037f82988b8b3aca2ce13c5c81ba975923cab.tar.gz
rust-3da037f82988b8b3aca2ce13c5c81ba975923cab.zip
Download the GCC sources insecurely
This is needed as they are built on a long-outdated Debian version. :(
Diffstat (limited to 'src/ci/docker')
-rwxr-xr-xsrc/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh b/src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh
index ab44d04d65d..25f99596099 100755
--- a/src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh
+++ b/src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh
@@ -22,7 +22,8 @@ cd gcc-$GCC
 # latter host is presented to `wget`! Therefore, we choose to download from the insecure HTTP server
 # instead here.
 #
-sed -i'' 's|ftp://gcc\.gnu\.org/|https://gcc.gnu.org/|g' ./contrib/download_prerequisites
+# FIXME: use HTTPS (see https://github.com/rust-lang/rust/pull/86586#issuecomment-868355356)
+sed -i'' 's|ftp://gcc\.gnu\.org/|http://gcc.gnu.org/|g' ./contrib/download_prerequisites
 
 ./contrib/download_prerequisites
 mkdir ../gcc-build