about summary refs log tree commit diff
path: root/src/ci/docker
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2023-04-24 17:17:56 -0700
committerJosh Stone <jistone@redhat.com>2023-04-24 17:17:56 -0700
commit603e5d764e8549ef490aa002e861b16af24961fd (patch)
treed2bbf19f4097bb0a5f2255b54981f521e70b3886 /src/ci/docker
parentf5559e338256f17ada6d82b429acc2dbd8facc9c (diff)
downloadrust-603e5d764e8549ef490aa002e861b16af24961fd.tar.gz
rust-603e5d764e8549ef490aa002e861b16af24961fd.zip
Revert "Download the GCC sources insecurely"
This reverts commit 3da037f82988b8b3aca2ce13c5c81ba975923cab.
Diffstat (limited to 'src/ci/docker')
-rwxr-xr-xsrc/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh3
1 files changed, 1 insertions, 2 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 41ca1385c75..6da3f89220e 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,8 +22,7 @@ cd gcc-$GCC
 # latter host is presented to `wget`! Therefore, we choose to download from the insecure HTTP server
 # instead here.
 #
-# 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
+sed -i'' 's|ftp://gcc\.gnu\.org/|https://gcc.gnu.org/|g' ./contrib/download_prerequisites
 
 ./contrib/download_prerequisites
 mkdir ../gcc-build