summaryrefslogtreecommitdiff
path: root/scripts/build/cc/gcc.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-08-19 07:17:49 (GMT)
committerAlexey Neyman <stilor@att.net>2017-08-19 07:18:25 (GMT)
commitd26dc5d5f5509232e7bd162baa70697c86307079 (patch)
tree5c381b037991f0ef5a46bf539e83122894c84887 /scripts/build/cc/gcc.sh
parent2dfa203872a73fb7b6aa4ccd440864cba74a8777 (diff)
Use per-package list of formats to determine downloads
Fixes #789 Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/cc/gcc.sh')
-rw-r--r--scripts/build/cc/gcc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index 6019b35..163a6a2 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -14,7 +14,7 @@ do_cc_get() {
# GCC source tree, which will not be there unless we get it and
# put it there ourselves
if [ "${CT_CC_LANG_JAVA_USE_ECJ}" = "y" ]; then
- if ! CT_GetFile ecj-latest .jar $(CT_Mirrors sourceware java); then
+ if ! CT_GetFile ecj ecj-latest .jar $(CT_Mirrors sourceware java); then
# Should be a package, too - but with Java retirement in GCC,
# it may not make sense.
CT_Abort "Failed to download ecj-latest.jar"