aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Curutchet <bastien.curutchet@bootlin.com>2024-10-22 11:25:39 +0200
committerChris Packham <judge.packham@gmail.com>2024-10-25 13:27:22 +1300
commit4773bd609c0f788328d6ffc36f6cc9ea8f09a95f (patch)
tree40c71944f039bdb50e04017e2d11eae1040ff26e
parent6d1d61cbcacc7ce4622ef024490e0cb56881614b (diff)
downloadcrosstool-ng-4773bd609c0f788328d6ffc36f6cc9ea8f09a95f.tar.gz
crosstool-ng-4773bd609c0f788328d6ffc36f6cc9ea8f09a95f.tar.bz2
crosstool-ng-4773bd609c0f788328d6ffc36f6cc9ea8f09a95f.zip
Drop --passive-ftp from wget's default options
In some distributions (as Fedora), wget2 is used instead of wget. wget2 doesn't support the --passive-ftp option causing every download to fail. Also, according to wget's NEWS file [0], --passive-ftp is already the default in wget since 1.10. Remove the --passive-ftp from wget's default options. [0] https://gitlab.com/gnuwget/wget/-/blob/master/NEWS#L733 Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
-rw-r--r--config/global/download.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/global/download.in b/config/global/download.in
index 57f42e6f..9a4d6cec 100644
--- a/config/global/download.in
+++ b/config/global/download.in
@@ -67,7 +67,7 @@ if DOWNLOAD_AGENT_WGET
config DOWNLOAD_WGET_OPTIONS
string "Extra options to wget"
- default "--passive-ftp --tries=3 -nc --progress=dot:binary"
+ default "--tries=3 -nc --progress=dot:binary"
endif