diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-05-15 18:51:40 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-05-15 18:51:40 +0200 |
commit | b00e501d7c77db553d81cb98fe2d0c3f29e652d4 (patch) | |
tree | 2a9a20b1218e0cfbadba5ff771329239caecc70d /scripts/build/libc | |
parent | e109ca92a0df15421fa57c47092a8b53ce069c9f (diff) | |
download | crosstool-ng-b00e501d7c77db553d81cb98fe2d0c3f29e652d4.tar.gz crosstool-ng-b00e501d7c77db553d81cb98fe2d0c3f29e652d4.tar.bz2 crosstool-ng-b00e501d7c77db553d81cb98fe2d0c3f29e652d4.zip |
scripts: interpret *_EXTRA_CONFIG config variables arrays
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/build/libc')
-rw-r--r-- | scripts/build/libc/glibc-eglibc.sh-common | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/libc/glibc-eglibc.sh-common b/scripts/build/libc/glibc-eglibc.sh-common index d2b6563f..bdab900f 100644 --- a/scripts/build/libc/glibc-eglibc.sh-common +++ b/scripts/build/libc/glibc-eglibc.sh-common @@ -159,7 +159,7 @@ do_libc() { nptl) extra_config+=("--with-__thread" "--with-tls");; linuxthreads) extra_config+=("--with-__thread" "--without-tls" "--without-nptl");; none) extra_config+=("--without-__thread" "--without-nptl") - case "${CT_LIBC_GLIBC_EXTRA_CONFIG}" in + case "${CT_LIBC_GLIBC_EXTRA_CONFIG[*]}" in *-tls*) ;; *) extra_config+=("--without-tls");; esac @@ -250,7 +250,7 @@ do_libc() { --without-gd \ --with-headers="${CT_HEADERS_DIR}" \ "${extra_config[@]}" \ - ${CT_LIBC_GLIBC_EXTRA_CONFIG} + "${CT_LIBC_GLIBC_EXTRA_CONFIG[@]}" # build hacks case "${CT_ARCH},${CT_ARCH_CPU}" in @@ -300,7 +300,7 @@ do_libc_add_ons_list() { do_libc_min_kernel_config() { local min_kernel_config - case "${CT_LIBC_GLIBC_EXTRA_CONFIG}" in + case "${CT_LIBC_GLIBC_EXTRA_CONFIG[*]}" in *--enable-kernel*) ;; *) if [ "${CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS}" = "y" ]; then # We can't rely on the kernel version from the configuration, |