Skip to content

Commit 70540d5

Browse files
committed
Auto merge of rust-lang#110784 - cuviper:build-gcc-https, r=jyn514
Revert "Download the GCC sources insecurely" This reverts commit 3da037f. This workaround was added after TLS problems with Debian 6 were noted in <rust-lang#86586 (comment)>, but we should be well past that since rust-lang#95026, where our oldest images are now based on CentOS 7.
2 parents adaac6b + 603e5d7 commit 70540d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ cd gcc-$GCC
2222
# latter host is presented to `wget`! Therefore, we choose to download from the insecure HTTP server
2323
# instead here.
2424
#
25-
# FIXME: use HTTPS (see https://github.com/rust-lang/rust/pull/86586#issuecomment-868355356)
26-
sed -i'' 's|ftp://gcc\.gnu\.org/|http://gcc.gnu.org/|g' ./contrib/download_prerequisites
25+
sed -i'' 's|ftp://gcc\.gnu\.org/|https://gcc.gnu.org/|g' ./contrib/download_prerequisites
2726

2827
./contrib/download_prerequisites
2928
mkdir ../gcc-build

0 commit comments

Comments
 (0)