summaryrefslogtreecommitdiff
path: root/scripts/build/libc/glibc-eglibc.sh-common
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-05-15 16:51:40 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-05-15 16:51:40 (GMT)
commitb00e501d7c77db553d81cb98fe2d0c3f29e652d4 (patch)
tree2a9a20b1218e0cfbadba5ff771329239caecc70d /scripts/build/libc/glibc-eglibc.sh-common
parente109ca92a0df15421fa57c47092a8b53ce069c9f (diff)
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/glibc-eglibc.sh-common')
-rw-r--r--scripts/build/libc/glibc-eglibc.sh-common6
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 d2b6563..bdab900 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,