scripts/build/libc/glibc-eglibc.sh-common
changeset 2466 b7df125a1c78
parent 2353 3fd8d44ba9bc
child 2467 200836977ce6
     1.1 --- a/scripts/build/libc/glibc-eglibc.sh-common	Sun Mar 20 01:15:34 2011 +0100
     1.2 +++ b/scripts/build/libc/glibc-eglibc.sh-common	Sun May 15 18:51:40 2011 +0200
     1.3 @@ -159,7 +159,7 @@
     1.4          nptl)           extra_config+=("--with-__thread" "--with-tls");;
     1.5          linuxthreads)   extra_config+=("--with-__thread" "--without-tls" "--without-nptl");;
     1.6          none)           extra_config+=("--without-__thread" "--without-nptl")
     1.7 -                        case "${CT_LIBC_GLIBC_EXTRA_CONFIG}" in
     1.8 +                        case "${CT_LIBC_GLIBC_EXTRA_CONFIG[*]}" in
     1.9                              *-tls*) ;;
    1.10                              *) extra_config+=("--without-tls");;
    1.11                          esac
    1.12 @@ -250,7 +250,7 @@
    1.13          --without-gd                                                \
    1.14          --with-headers="${CT_HEADERS_DIR}"                          \
    1.15          "${extra_config[@]}"                                        \
    1.16 -        ${CT_LIBC_GLIBC_EXTRA_CONFIG}
    1.17 +        "${CT_LIBC_GLIBC_EXTRA_CONFIG[@]}"
    1.18      
    1.19      # build hacks
    1.20      case "${CT_ARCH},${CT_ARCH_CPU}" in
    1.21 @@ -300,7 +300,7 @@
    1.22  do_libc_min_kernel_config() {
    1.23      local min_kernel_config
    1.24  
    1.25 -    case "${CT_LIBC_GLIBC_EXTRA_CONFIG}" in
    1.26 +    case "${CT_LIBC_GLIBC_EXTRA_CONFIG[*]}" in
    1.27          *--enable-kernel*) ;;
    1.28          *)  if [ "${CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS}" = "y" ]; then
    1.29                  # We can't rely on the kernel version from the configuration,