From c434986a523eb368f3f24f559250e4708a1d7734 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 18 Mar 2008 08:32:52 +0200 Subject: [PATCH] glibc: Added config cache tweaks for powerpc improving cross-compiling --- base/glibc/glibc.conf | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/base/glibc/glibc.conf b/base/glibc/glibc.conf index 03800b6f6..648e407df 100644 --- a/base/glibc/glibc.conf +++ b/base/glibc/glibc.conf @@ -67,14 +67,23 @@ if [ $SDECFG_PKG_GLIBC_TLS = 1 ]; then # tls config.cache tweaks for toolchain stage if atstage toolchain ; then case "$arch" in - powerpc64) - tls_arch=powerpc64 + powerpc) + tls_arch=powerpc32 var_append configcache ' ' \ "libc_cv_ppc_machine=yes" + var_append configcache ' ' \ + "libc_cv_mlong_double_128=yes" var_append configcache ' ' \ "libc_cv_mlong_double_128ibm=yes" + ;; + powerpc64) + tls_arch=powerpc64 + var_append configcache ' ' \ + "libc_cv_ppc_machine=yes" var_append configcache ' ' \ "libc_cv_mlong_double_128=yes" + var_append configcache ' ' \ + "libc_cv_mlong_double_128ibm=yes" ;; sparc64) tls_arch=sparc64