summaryrefslogtreecommitdiff
path: root/scripts/build/libc/glibc.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-06-04 15:15:58 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-06-04 15:15:58 (GMT)
commit39dedfbcb65c93e5e111fba93f75507a56239076 (patch)
treebbde9e24c4cb86c69ea0ebb0e2d8fe614fb729a8 /scripts/build/libc/glibc.sh
parentd147fbb201e5ab4e16a525e0289a7fdcfcccf203 (diff)
libc/glibc: do not try to download NPTL add-on
The NPTL add-on has always been internal, so there is no reason to try downloading it, it will never succeed. Add provision to skip other add-ons as well. For consistency, do the same test in both glibc and eglibc. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/build/libc/glibc.sh')
-rw-r--r--scripts/build/libc/glibc.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh
index c50aa89..195e618 100644
--- a/scripts/build/libc/glibc.sh
+++ b/scripts/build/libc/glibc.sh
@@ -27,6 +27,12 @@ do_libc_get() {
# C library addons
for addon in "${addons_list[@]}"; do
+ # Never ever try to download these add-ons,
+ # they've always been internal
+ case "${addon}" in
+ nptl) continue;;
+ esac
+
if ! CT_GetFile "glibc-${addon}-${CT_LIBC_VERSION}" \
{ftp,http}://ftp.gnu.org/gnu/glibc \
ftp://gcc.gnu.org/pub/glibc/releases \